fix merge workflow

This commit is contained in:
Ludovico Magnocavallo
2022-07-30 19:37:19 +02:00
parent d075e67425
commit 6efce68b1d

View File

@@ -27,9 +27,9 @@ on:
required: false
type: boolean
permissions:
contents: write
pull-requests: read
# permissions:
# contents: write
# pull-requests: read
jobs:
if_merged:
@@ -46,7 +46,7 @@ jobs:
pip install -r tools/requirements.txt
- name: Update Changelog
run: |
python3 tools/changelog.py --token secrets.GITHUB_TOKEN CHANGELOG.md
python3 tools/changelog.py --token ${{ secrets.GITHUB_TOKEN }} CHANGELOG.md
- name: Commit and push Changelog
env:
CI_COMMIT_MESSAGE: Update Changelog