Skip to content

Commit

Permalink
Update workflow 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 9, 2024
1 parent 6e9f44d commit 0a0f116
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- master
- zowe-v?-lts
- next
# schedule:
# - cron: '0 10 * * *'
schedule:
- cron: '0 10 * * *'

jobs:
audit:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Auto Responder for New Issues
on:
issues:
types: labeled
permissions:
issues: write

jobs:
processLabelAction:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
PR_STATUS_DRAFT: 'In Progress'
PR_STATUS_READY: 'Review/QA'

permissions:
pull-requests: write

jobs:
update-project:
name: Move project item
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/zowe-cli-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ jobs:
if: github.event_name == 'push' && github.ref_protected
needs: test
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
pull-requests: write

steps:
- name: Checkout
Expand Down

0 comments on commit 0a0f116

Please sign in to comment.