Skip to content

Commit

Permalink
ci: update perms for workflow jobs (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Jan 18, 2024
1 parent c36cf61 commit 4476f3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-docs-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
outputs:
branch: ${{ steps.branch.outputs.branch }}
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
- name: 'Switch branches'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
outputs:
branch: ${{ steps.branch.outputs.branch }}
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
Expand Down

0 comments on commit 4476f3a

Please sign in to comment.