Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflows with permissions #277

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
issues:
types: labeled

permissions:
issues: write

jobs:
processLabelAction:
name: Process Label Action
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
3 changes: 2 additions & 1 deletion .github/workflows/zowe-cli-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest

permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/zowe-cli-deploy-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ jobs:
needs: [setup, smoke-test-status]
if: always()
runs-on: ubuntu-latest
permissions:
issues: write
strategy:
fail-fast: false
max-parallel: 1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zowe-cli-deploy-component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
required: false
type: boolean

permissions:
issues: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down