Skip to content

Commit

Permalink
Add write permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Sep 6, 2024
1 parent 7edfc5e commit 34005c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ jobs:
needs: test
runs-on: ubuntu-latest
if: ${{ needs.test.result == 'success' && github.event_name == 'workflow_dispatch' && (github.ref_name == 'master' || github.ref_name == 'zowe-v1-lts') && github.event.inputs.zowe-version && github.event.inputs.zowe-version != '' && github.event.inputs.release == 'true' }}
permissions:
contents: write
steps:
- name: Checkout Pages Branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -158,6 +160,8 @@ jobs:
needs: test
runs-on: ubuntu-latest
if: needs.test.result == 'success' && github.event_name == 'push' && (github.ref_name == 'master' || github.ref_name == 'zowe-v1-lts')
permissions:
contents: write
steps:
- name: Checkout Pages Branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -195,6 +199,7 @@ jobs:
if: needs.test.result == 'success' && github.event_name == 'pull_request_target'
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout Pages Branch
uses: actions/checkout@v4
Expand Down

0 comments on commit 34005c1

Please sign in to comment.