ci: use fossifybot github app token (#402)

This commit is contained in:
Naveen Singh 2025-05-22 19:36:07 +05:30 committed by GitHub
parent 7b12f46326
commit 9f0391e3c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 41 deletions

View file

@ -5,9 +5,6 @@ on:
tags: tags:
- "*.*.*" - "*.*.*"
permissions:
contents: read
jobs: jobs:
call-release-workflow: call-release-workflow:
uses: FossifyOrg/.github/.github/workflows/release.yml@main uses: FossifyOrg/.github/.github/workflows/release.yml@main
@ -15,11 +12,4 @@ jobs:
tag: ${{ github.ref_name }} tag: ${{ github.ref_name }}
flavor: "foss" flavor: "foss"
package_name: "org.fossify.messages" package_name: "org.fossify.messages"
secrets: inherit
secrets:
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SERVICE_ACCOUNT_JSON_KEY_BASE64: ""
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

View file

@ -24,9 +24,6 @@ on:
type: boolean type: boolean
default: false default: false
permissions:
contents: read
jobs: jobs:
call-release-workflow: call-release-workflow:
uses: FossifyOrg/.github/.github/workflows/release.yml@main uses: FossifyOrg/.github/.github/workflows/release.yml@main
@ -36,11 +33,4 @@ jobs:
track: ${{ github.event.inputs.track }} track: ${{ github.event.inputs.track }}
rollout: ${{ github.event.inputs.rollout }} rollout: ${{ github.event.inputs.rollout }}
validate_only: ${{ github.event.inputs.validate_only == 'true' }} validate_only: ${{ github.event.inputs.validate_only == 'true' }}
secrets: inherit
secrets:
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SERVICE_ACCOUNT_JSON_KEY_BASE64: ${{ secrets.SERVICE_ACCOUNT_JSON_KEY_BASE64 }}
FOSSIFYBOT_TOKEN: ""

View file

@ -11,5 +11,4 @@ on:
jobs: jobs:
call-image-minimizer-workflow: call-image-minimizer-workflow:
uses: FossifyOrg/.github/.github/workflows/image-minimizer.yml@main uses: FossifyOrg/.github/.github/workflows/image-minimizer.yml@main
secrets: secrets: inherit
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

View file

@ -2,11 +2,10 @@ name: No Response
on: on:
schedule: schedule:
- cron: '0 12 * * *' # Runs daily at noon - cron: "0 12 * * *" # Runs daily at noon
workflow_dispatch: workflow_dispatch:
jobs: jobs:
call-no-response-workflow: call-no-response-workflow:
uses: FossifyOrg/.github/.github/workflows/no-response.yml@main uses: FossifyOrg/.github/.github/workflows/no-response.yml@main
secrets: secrets: inherit
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

View file

@ -4,12 +4,7 @@ on:
pull_request_target: pull_request_target:
types: [opened] types: [opened]
permissions:
contents: read
# write permission is not required as FOSSIFYBOT_TOKEN is used
jobs: jobs:
call-pr-labeler-workflow: call-pr-labeler-workflow:
uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main uses: FossifyOrg/.github/.github/workflows/pr-labeler.yml@main
secrets: secrets: inherit
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}

View file

@ -4,14 +4,7 @@ on:
release: release:
types: [published] types: [published]
permissions:
contents: read
issues: read
pull-requests: read
# write permission is not required as FOSSIFYBOT_TOKEN is used
jobs: jobs:
call-release-commenter: call-release-commenter:
uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main
secrets: secrets: inherit
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}