Skip to content

Commit d34ae1f

Browse files
authored
update(tooling): déplace le template de PR de RDP pour éviter qu'il ne soit utilisé le modèle par défaut (#1419)
À suivre : - ajouter un modèle pour soumission d'un article - basculer de https://github.com/repo-sync/pull-request à https://github.com/peter-evans/create-pull-request
2 parents 4a06e71 + b90a5f2 commit d34ae1f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ C'est par ici 👉 XXXXXXXXXX 👈
3434
Modèle de news ici : https://github.com/geotribu/website/blob/master/content/rdp/templates/template_rdp_news.md
3535
```
3636

37-
Exemple de [post](https://twitter.com/geotribu/status/1364625815099613185) :
37+
Exemple de [post](https://mapstodon.space/@geotribu/115846860375931981) sur Mastodon :
3838

3939
![post geordp](https://cdn.geotribu.fr/img/internal/contribution/geotribu_rdp_tweet_incitation.png)
4040

.github/workflows/manual_new_rdp.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ env:
2020

2121
jobs:
2222
create_rdp:
23+
permissions:
24+
contents: write
25+
pull-requests: write
26+
2327
runs-on: ubuntu-latest
2428

2529
if: ${{ github.repository_owner == 'geotribu' }}
@@ -60,11 +64,11 @@ jobs:
6064
uses: repo-sync/pull-request@v2
6165
with:
6266
github_token: ${{ secrets.GITHUB_TOKEN }}
63-
source_branch: rdp/${{ github.event.inputs.date }}
6467
destination_branch: "master"
6568
pr_allow_empty: false
69+
pr_template: .github/PULL_REQUEST_TEMPLATE/RDP.md
6670
pr_title: "🗞 GeoRDP du ${{ env.DATE_FR_LONG }}"
67-
pr_template: .github/PULL_REQUEST_TEMPLATE.md
71+
source_branch: rdp/${{ github.event.inputs.date }}
6872

6973
- name: Notification matrix
7074
id: matrix-notification

0 commit comments

Comments
 (0)