hookshot/.github/workflows/newsfile.yml
Will Hunt 46b0004581
Skip newsfile CI check for dependabot. (#987)
* skip newsfile for dependabot.

* changelog
2024-11-19 10:53:03 +00:00

23 lines
551 B
YAML

name: Newsfile
on:
pull_request:
branches: [ main ]
merge_group:
jobs:
changelog:
runs-on: ubuntu-latest
# No newsfile required for dependabot
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
with: # Needed for comparison
fetch-depth: 0
- uses: actions/setup-python@v1
with:
python-version: '3.9'
- run: pip install towncrier==21.9.0
- name: ":newspaper: Newsfile"
run: python3 -m towncrier.check --compare-with=origin/main