Skip to content

Commit 89514ae

Browse files
committed
Reduce scope of ci secrets
1 parent c639b1d commit 89514ae

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ jobs:
4343
uses: ./.github/workflows/test.yml
4444
permissions:
4545
contents: read
46-
secrets: inherit
46+
secrets:
47+
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
4748

4849
docs:
4950
needs: prep-release
5051
uses: ./.github/workflows/docs.yml
5152
permissions:
5253
contents: write
53-
secrets: inherit
54+
secrets:
55+
GH_DFETCH_ORG_DEPLOY: ${{ secrets.GH_DFETCH_ORG_DEPLOY }}
5456
with:
5557
release_id: ${{ needs.prep-release.outputs.release_id }}

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
required: false
88
type: string
99
default: ''
10+
secrets:
11+
GH_DFETCH_ORG_DEPLOY:
12+
required: false
1013

1114
permissions:
1215
contents: read

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Test
22

33
on:
44
workflow_call:
5+
secrets:
6+
CODACY_PROJECT_TOKEN:
7+
required: false
58

69
permissions:
710
contents: read

0 commit comments

Comments
 (0)