Skip to content

Commit 171702d

Browse files
authored
ci: skip notify job in staging repo #5626
see c0f3faa --- <!--- REMINDER: Ensure that your PR meets the guidelines in CONTRIBUTING.md --> License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c0f3faa commit 171702d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/notification.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,23 @@ concurrency:
2323

2424
jobs:
2525
notify:
26-
if: ${{ github.event_name == 'pull_request_target' && github.repository == 'aws/aws-toolkit-vscode' }}
26+
if: github.repository == 'aws/aws-toolkit-vscode'
2727
runs-on: ubuntu-latest
2828
permissions:
2929
pull-requests: write
3030
issues: read
3131
steps:
3232
- uses: actions/checkout@v4
33+
if: github.event_name == 'pull_request_target'
3334
with:
3435
fetch-depth: 20
3536
- uses: actions/setup-node@v4
37+
if: github.event_name == 'pull_request_target'
3638
with:
3739
node-version: '20'
3840
- name: Check for tests
3941
uses: actions/github-script@v7
42+
if: github.event_name == 'pull_request_target'
4043
with:
4144
script: |
4245
const notify = require('.github/workflows/notify.js')

0 commit comments

Comments
 (0)