forked from Uninett/Argus
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 844 Bytes
/
Copy pathtowncrier.yml
File metadata and controls
28 lines (24 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Check for changelog file
on:
pull_request:
# labeled/unlabeled = label is added/removed
# synchronize = PR's head branch was updated
types: [labeled, unlabeled, opened, reopened, synchronize]
permissions:
contents: read
jobs:
towncrier:
if: ${{ github.actor != 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'nonews') && !contains(github.event.pull_request.labels.*.name, 'github_actions') }}
runs-on: ubuntu-latest
name: Towncrier check
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Install towncrier
run: |
sudo apt-get install -y pipx
pipx install towncrier
- name: Check for changelog file
run: towncrier check