update actions ci config
This commit is contained in:
parent
57067ffb06
commit
56583f9b35
1 changed files with 4 additions and 2 deletions
6
.github/workflows/pr-changelog-check.yml
vendored
6
.github/workflows/pr-changelog-check.yml
vendored
|
@ -1,12 +1,14 @@
|
|||
name: Pull request changelog check
|
||||
on: [pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, labeled, unlabeled, synchronize]
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'changelog-not-required')) }}
|
||||
name: Run changelog check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v2
|
||||
- name: Changelog check
|
||||
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'changelog-not-required'))}}
|
||||
run: ./scripts/changelog-check.sh
|
Loading…
Reference in a new issue