Skip to content

Commit 6cdd669

Browse files
committed
[nrf noup] ci: Fix manifest-pr-skip
fixup! [nrf noup] ci: Enable action-manifest-pr When the PR title or body contains "manifest-pr-skip", this action will cancel itself, which results in a failure status. Use the same condition to skip the whole workflow instead. Signed-off-by: Grzegorz Swiderski <[email protected]>
1 parent b83478a commit 6cdd669

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/manifest-PR.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: handle manifest PR
14+
if: >
15+
!(contains(github.event.pull_request.title, 'manifest-pr-skip') ||
16+
contains(github.event.pull_request.body, 'manifest-pr-skip'))
1417
uses: nrfconnect/action-manifest-pr@main
1518
with:
1619
token: ${{ secrets.NCS_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)