We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef84899 commit db48689Copy full SHA for db48689
1 file changed
.github/workflows/node.js.yaml
@@ -13,6 +13,7 @@ on:
13
14
jobs:
15
test:
16
+ if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }}
17
runs-on: ubuntu-latest
18
19
steps:
@@ -47,7 +48,7 @@ jobs:
47
48
needs:
49
- test
50
- if: failure() && github.event_name != 'merge_group' && github.actor != 'github-actions[bot]' && github.actor != 'nektos/act'
51
+ if: ${{ (github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository) && (failure() && github.event_name != 'merge_group' && github.actor != 'github-actions[bot]' && github.actor != 'nektos/act') }}
52
53
54
- uses: actions/checkout@v4
0 commit comments