mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-10 00:42:29 -06:00
[BRE-1333] Added permissions to token generation step to limit token scope (#2161)
This commit is contained in:
parent
e053cc013b
commit
0f1447a62b
5
.github/workflows/crowdin-pull.yml
vendored
5
.github/workflows/crowdin-pull.yml
vendored
@ -11,8 +11,7 @@ jobs:
|
||||
name: Crowdin Pull - ${{ github.event_name }}
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@ -50,6 +49,8 @@ jobs:
|
||||
with:
|
||||
app-id: ${{ steps.get-kv-secrets.outputs.BW-GHAPP-ID }}
|
||||
private-key: ${{ steps.get-kv-secrets.outputs.BW-GHAPP-KEY }}
|
||||
permission-contents: write # for pushing branches
|
||||
permission-pull-requests: write # for creating pull requests
|
||||
|
||||
- name: Download translations
|
||||
uses: crowdin/github-action@0749939f635900a2521aa6aac7a3766642b2dc71 # v2.11.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user