Skip to content

Commit 9d7d7d9

Browse files
committed
ci: Retry CI workflow with changelog
Run CI when PR is edited and description contains Changelog Update ci.yaml
1 parent 6f45b47 commit 9d7d7d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- "master"
77
pull_request:
8-
8+
types: [opened, synchronize, edited]
99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111
cancel-in-progress: true
@@ -22,6 +22,9 @@ jobs:
2222
name: Pre-build checks
2323
runs-on: ubuntu-22.04
2424
timeout-minutes: 30
25+
if: |
26+
github.event.action != 'edited' ||
27+
contains(tolower(github.event.pull_request.body), 'changelog')
2528
env:
2629
BOLTDIR: bolts
2730
strategy:

0 commit comments

Comments
 (0)