Skip to content

Commit b6a7c05

Browse files
committed
Propagate secrets explicitly
1 parent 731bfd9 commit b6a7c05

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

.github/workflows/checkbox-daily-cross-builds.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ on:
1616
default: false
1717
required: false
1818
type: boolean
19-
19+
secrets:
20+
SNAPCRAFT7_CREDS:
21+
required: true
22+
GITHUB_TOKEN:
23+
required: true
2024
jobs:
2125
snap-runtime:
2226
strategy:

.github/workflows/checkbox-daily-native-builds.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
default: false
1717
required: false
1818
type: boolean
19+
secrets:
20+
SNAPCRAFT7_CREDS:
21+
required: true
22+
GITHUB_TOKEN:
23+
required: true
1924

2025
jobs:
2126
snap_runtime_native:

.github/workflows/daily-builds.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,26 @@ jobs:
4242
needs: check_for_commits
4343
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
4444
uses: ./.github/workflows/checkbox-daily-cross-builds.yaml
45-
secrets: inherit
45+
secrets:
46+
SNAPCRAFT7_CREDS: ${{ secrets.SNAPCRAFT7_CREDS }}
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4648
with:
4749
store_upload: true
4850

4951
snap-native-build-upload-daily:
5052
needs: check_for_commits
5153
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
5254
uses: ./.github/workflows/checkbox-daily-native-builds.yaml
53-
secrets: inherit
55+
secrets:
56+
SNAPCRAFT7_CREDS: ${{ secrets.SNAPCRAFT7_CREDS }}
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5458
with:
5559
store_upload: true
5660

5761
deb-daily:
5862
needs: check_for_commits
5963
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
6064
uses: ./.github/workflows/deb-daily-builds.yml
61-
secrets: inherit
65+
secrets:
66+
LP_CREDS: ${{ secrets.LP_CREDS }}
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deb-daily-builds.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ permissions:
44
on:
55
workflow_dispatch:
66
workflow_call:
7-
7+
secrets:
8+
LP_CREDS:
9+
required: true
10+
GITHUB_TOKEN:
11+
required: true
812
jobs:
913
ppa_update:
1014
name: Sync PPA history with monorepo

0 commit comments

Comments
 (0)