diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE/RDP.md similarity index 98% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE/RDP.md index 7845a83b6c..01c04de262 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE/RDP.md @@ -34,7 +34,7 @@ C'est par ici ๐Ÿ‘‰ XXXXXXXXXX ๐Ÿ‘ˆ Modรจle de news ici : https://github.com/geotribu/website/blob/master/content/rdp/templates/template_rdp_news.md ``` -Exemple de [post](https://twitter.com/geotribu/status/1364625815099613185) : +Exemple de [post](https://mapstodon.space/@geotribu/115846860375931981) sur Mastodon : ![post geordp](https://cdn.geotribu.fr/img/internal/contribution/geotribu_rdp_tweet_incitation.png) diff --git a/.github/workflows/manual_new_rdp.yml b/.github/workflows/manual_new_rdp.yml index 95d5347c53..ddf4222ffa 100644 --- a/.github/workflows/manual_new_rdp.yml +++ b/.github/workflows/manual_new_rdp.yml @@ -20,6 +20,10 @@ env: jobs: create_rdp: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest if: ${{ github.repository_owner == 'geotribu' }} @@ -60,11 +64,11 @@ jobs: uses: repo-sync/pull-request@v2 with: github_token: ${{ secrets.GITHUB_TOKEN }} - source_branch: rdp/${{ github.event.inputs.date }} destination_branch: "master" pr_allow_empty: false + pr_template: .github/PULL_REQUEST_TEMPLATE/RDP.md pr_title: "๐Ÿ—ž GeoRDP du ${{ env.DATE_FR_LONG }}" - pr_template: .github/PULL_REQUEST_TEMPLATE.md + source_branch: rdp/${{ github.event.inputs.date }} - name: Notification matrix id: matrix-notification