Skip to content

Commit b8dcb49

Browse files
author
Lucas McDonald
committed
m
1 parent 6924585 commit b8dcb49

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/daily_ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@ name: Daily CI
33

44
permissions:
55
contents: read
6-
id-token: write
76

87
on:
98
schedule:
109
- cron: "00 15 * * 1-5"
1110
pull_request:
1211
paths:
13-
.github/workflows/daily_ci.yml
12+
- .github/workflows/daily_ci.yml
1413

1514
jobs:
1615
codebuild:
17-
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
16+
if: github.event_name == 'pull_request' || github.repository_owner == 'aws'
17+
permissions:
18+
contents: read
19+
id-token: write
1820
uses: ./.github/workflows/codebuild.yml
1921
secrets: inherit
2022
notify:

.github/workflows/push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ on:
66

77
permissions:
88
contents: read
9-
id-token: write
109

1110
jobs:
1211
clang-format:
1312
uses: ./.github/workflows/clang-format.yml
1413
secrets: inherit
1514
codebuild:
15+
permissions:
16+
contents: read
17+
id-token: write
1618
uses: ./.github/workflows/codebuild.yml
1719
secrets: inherit
1820
osx:

0 commit comments

Comments
 (0)