mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
23 lines
551 B
YAML
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
|