Skip to content

Commit

Permalink
Add permissions for create-pr-action
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Sep 30, 2024
1 parent 9c2634a commit 731e7e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/diagram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
check-diagram:
name: Update the codebase structure diagram
runs-on: ubuntu-latest
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- name: Update diagram
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/distros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ permissions: read-all
jobs:
check-versions:
name: Check for latest Vagrant box versions
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
runs-on: macos-12
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ permissions: read-all
jobs:
check-versions:
name: Update python requirements files
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
strategy:
max-parallel: 1
fail-fast: false
Expand Down Expand Up @@ -58,6 +61,9 @@ jobs:
PR_TITLE: "chore: update versions"
check-dictionary:
runs-on: ubuntu-latest
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # refs/tags/v2.1.4
Expand All @@ -83,6 +89,9 @@ jobs:
PR_TITLE: "chore: update dictionary"
check-github-actions:
runs-on: ubuntu-latest
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # refs/tags/v2.1.4
Expand Down

0 comments on commit 731e7e0

Please sign in to comment.