Skip to content

Commit e9c7a5c

Browse files
authored
[PM-28315] Fix build workflows by setting the correct permissions (#2146)
1 parent 803f28b commit e9c7a5c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci-bwa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
name: Build Manual - ${{ inputs.build-mode }}
6565
needs: version
6666
permissions:
67+
contents: read
6768
id-token: write
6869
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
6970
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
@@ -81,6 +82,7 @@ jobs:
8182
name: Build CI
8283
needs: version
8384
permissions:
85+
contents: read
8486
id-token: write
8587
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
8688
uses: bitwarden/ios/.github/workflows/_build-any.yml@main

.github/workflows/ci-bwpm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
name: Build Manual - ${{ inputs.build-variant }} (${{ inputs.build-mode }})
6868
needs: version
6969
permissions:
70+
contents: read
7071
id-token: write
7172
if: ${{ github.event_name == 'workflow_dispatch' && inputs.build-mode != 'CI' }}
7273
uses: bitwarden/ios/.github/workflows/_build-any.yml@main
@@ -84,6 +85,7 @@ jobs:
8485
name: Build CI
8586
needs: version
8687
permissions:
88+
contents: read
8789
id-token: write
8890
if: ${{ github.event_name == 'push' || inputs.build-mode == 'CI' }}
8991
uses: bitwarden/ios/.github/workflows/_build-any.yml@main

0 commit comments

Comments
 (0)