mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-10 17:46:07 -06:00
[PM-28315] Fix build workflows by setting the correct permissions (#2146)
This commit is contained in:
parent
803f28b31c
commit
e9c7a5cdb8
2
.github/workflows/ci-bwa.yml
vendored
2
.github/workflows/ci-bwa.yml
vendored
@ -64,6 +64,7 @@ jobs:
|
||||
name: Build Manual - ${{ inputs.build-mode }}
|
||||
needs: version
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||
@ -81,6 +82,7 @@ jobs:
|
||||
name: Build CI
|
||||
needs: version
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||
|
||||
2
.github/workflows/ci-bwpm.yml
vendored
2
.github/workflows/ci-bwpm.yml
vendored
@ -67,6 +67,7 @@ jobs:
|
||||
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})
|
||||
needs: version
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
|
||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||
@ -84,6 +85,7 @@ jobs:
|
||||
name: Build CI
|
||||
needs: version
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
|
||||
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user