Skip to content

Commit

Permalink
fix action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed May 18, 2024
1 parent b836017 commit c3445a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ jobs:
generate:
name: Generate FTB Quest Translate Keys
secrets: inherit
permissions:
contents: write
uses: ./.github/workflows/ftbquest.yml

crowdin:
needs:
- generate
name: Update Crowdin Sources / Translations
secrets: inherit
permissions:
contents: write
uses: ./.github/workflows/crowdin.yml

build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: workflow_call
jobs:
crowdin:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit c3445a4

Please sign in to comment.