Skip to content

Commit bf8a12f

Browse files
chore(ci): fix daily CI (#75)
1 parent 0785178 commit bf8a12f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/daily_ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# This workflow runs every weekday at 15:00 UTC (8AM PDT)
22
name: Daily CI
33
permissions:
4+
id-token: write
45
contents: read
56

67
on:
78
schedule:
89
- cron: "00 15 * * 1-5"
9-
10+
pull_request:
11+
paths:
12+
.github/workflows/daily_ci.yml
1013
jobs:
1114
daily-ci-go-v3-test:
1215
uses: ./.github/workflows/ci_test_go_v3.yml
@@ -27,7 +30,7 @@ jobs:
2730
daily-ci-go-v4-test,
2831
daily-ci-go-migration-examples-test,
2932
]
30-
if: ${{ failure() }}
33+
if: ${{ failure() && github.event_name == 'schedule' }}
3134
uses: aws/aws-cryptographic-material-providers-library/.github/workflows/slack-notification.yml@main
3235
with:
3336
message: "Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 commit comments

Comments
 (0)