Skip to content

Commit

Permalink
FIX: autofix?
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Dec 21, 2023
1 parent d3ab006 commit 470375d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/check_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize, labeled, unlabeled]

# https://joht.github.io/johtizen/build/2022/01/20/github-actions-push-into-repository.html#git-commit-within-a-pull-request#example-4
permissions:
contents: read

jobs:
changelog_checker:
name: Check towncrier entry in doc/changes/devel/
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -21,12 +21,7 @@ jobs:
python-version: '3.12'
- run: pip install --upgrade towncrier pygithub
- run: python ./.github/actions/rename_towncrier/rename_towncrier.py
- uses: stefanzweifel/git-auto-commit-action@v5
id: commit-action
with:
commit_message: "DOC: Update changelog entry to PR ${{ github.event.pull_request.number }}"
- run: exit 1
if: steps.commit-action.outputs.changes_detected == 'false'
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
- uses: larsoner/action-towncrier-changelog@co # revert to scientific-python @ 0.1.1 once bug is fixed
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 470375d

Please sign in to comment.