👷(ci) fix ci issue with changelog on main
check-changelog should only runs on PR
This commit is contained in:
committed by
Samuel Paccoud
parent
7713225fc8
commit
e4b0ca86e5
4
.github/workflows/people.yml
vendored
4
.github/workflows/people.yml
vendored
@@ -34,7 +34,9 @@ jobs:
|
||||
|
||||
check-changelog:
|
||||
runs-on: ubuntu-latest
|
||||
if: contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false
|
||||
if: |
|
||||
contains(github.event.pull_request.labels.*.name, 'noChangeLog') == false &&
|
||||
github.event_name == 'pull_request'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user