Skip to content

Commit 020be51

Browse files
chore(gha): fix triggering on PRs [enable:test:very_long_running]
1 parent e38da9a commit 020be51

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/build-native-only.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
4242
only_build_native:
4343
needs: get-commit-message
44-
if: (contains(needs.get-commit-message.outputs.commit_message, 'build:native:only'))
44+
if: |
45+
contains(needs.get-commit-message.outputs.commit_message, 'build:native:only') ||
46+
contains(github.event.pull_request.labels.*.name, 'build:native:only')
4547
uses: ./.github/workflows/_build-native-only.yml
4648
permissions:
4749
attestations: write

0 commit comments

Comments
 (0)