Skip to content

Commit 68aec3a

Browse files
authored
ci: use fossifybot github app token
1 parent 93893ce commit 68aec3a

File tree

6 files changed

+7
-41
lines changed

6 files changed

+7
-41
lines changed

.github/workflows/foss-release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@ on:
55
tags:
66
- "*.*.*"
77

8-
permissions:
9-
contents: read
10-
118
jobs:
129
call-release-workflow:
1310
uses: FossifyOrg/.github/.github/workflows/release.yml@main
1411
with:
1512
tag: ${{ github.ref_name }}
1613
flavor: "foss"
1714
package_name: "org.fossify.filemanager"
18-
19-
secrets:
20-
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
21-
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
22-
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
23-
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
24-
SERVICE_ACCOUNT_JSON_KEY_BASE64: ""
25-
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
15+
secrets: inherit

.github/workflows/gplay-release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ on:
2424
type: boolean
2525
default: false
2626

27-
permissions:
28-
contents: read
29-
3027
jobs:
3128
call-release-workflow:
3229
uses: FossifyOrg/.github/.github/workflows/release.yml@main
@@ -36,11 +33,4 @@ jobs:
3633
track: ${{ github.event.inputs.track }}
3734
rollout: ${{ github.event.inputs.rollout }}
3835
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
39-
40-
secrets:
41-
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
42-
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
43-
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
44-
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
45-
SERVICE_ACCOUNT_JSON_KEY_BASE64: ${{ secrets.SERVICE_ACCOUNT_JSON_KEY_BASE64 }}
46-
FOSSIFYBOT_TOKEN: ""
36+
secrets: inherit

.github/workflows/image-minimizer.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ on:
1111
jobs:
1212
call-image-minimizer-workflow:
1313
uses: FossifyOrg/.github/.github/workflows/image-minimizer.yml@main
14-
secrets:
15-
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
14+
secrets: inherit

.github/workflows/no-response.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ name: No Response
22

33
on:
44
schedule:
5-
- cron: '0 12 * * *' # Runs daily at noon
5+
- cron: "0 12 * * *" # Runs daily at noon
66
workflow_dispatch:
77

88
jobs:
99
call-no-response-workflow:
1010
uses: FossifyOrg/.github/.github/workflows/no-response.yml@main
11-
secrets:
12-
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
11+
secrets: inherit

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ on:
44
pull_request_target:
55
types: [opened]
66

7-
permissions:
8-
contents: read
9-
# write permission is not required as FOSSIFYBOT_TOKEN is used
10-
117
jobs:
128
call-pr-labeler-workflow:
139
uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main
14-
secrets:
15-
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
10+
secrets: inherit

.github/workflows/release-commenter.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@ on:
44
release:
55
types: [published]
66

7-
permissions:
8-
contents: read
9-
issues: read
10-
pull-requests: read
11-
# write permission is not required as FOSSIFYBOT_TOKEN is used
12-
137
jobs:
148
call-release-commenter:
159
uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main
16-
secrets:
17-
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
10+
secrets: inherit

0 commit comments

Comments
 (0)