Skip to content

Commit c0f3faa

Browse files
committed
ci: skip notify job in staging repo
Problem: This job fails in the staging repo: Fetching the repository /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=20 origin … remote: Repository not found. Error: fatal: repository 'https://github.com/aws/aws-toolkit-vscode-staging/' not found The process '/usr/bin/git' failed with exit code 128 Solution: Skip it in the staging repo until a better solution can be found.
1 parent fa5dfac commit c0f3faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ concurrency:
2323

2424
jobs:
2525
notify:
26+
if: ${{ github.event_name == 'pull_request_target' && github.repository == 'aws/aws-toolkit-vscode' }}
2627
runs-on: ubuntu-latest
2728
permissions:
2829
pull-requests: write
@@ -40,4 +41,3 @@ jobs:
4041
script: |
4142
const notify = require('.github/workflows/notify.js')
4243
await notify({github, context})
43-
if: github.event_name == 'pull_request_target'

0 commit comments

Comments
 (0)