Skip to content

Commit

Permalink
Add missing permission
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Feb 14, 2024
1 parent bf3b673 commit 46bbc46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:
- ".github/workflows/generate-python.yml"
pull_request:

permissions:
contents: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -107,6 +104,9 @@ jobs:
merge-and-create-branch:
runs-on: ubuntu-latest
needs: generate
permissions:
contents: write
pull-requests: write
steps:
- name: Check out the code
uses: actions/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
- ".github/workflows/generate-ruby.yml"
pull_request:

permissions:
contents: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -100,6 +97,9 @@ jobs:
merge-and-create-branch:
runs-on: ubuntu-latest
needs: generate
permissions:
contents: write
pull-requests: write
steps:
- name: Check out the code
uses: actions/[email protected]
Expand Down

0 comments on commit 46bbc46

Please sign in to comment.