Skip to content

Commit

Permalink
Update secrets and permissions in deployment workflow (#3240)
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj authored Oct 15, 2024
1 parent f3eb4b0 commit 94a62db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
release:
if: github.event_name == 'workflow_dispatch' || github.ref_protected
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write

steps:
- name: Checkout
Expand Down Expand Up @@ -53,8 +57,8 @@ jobs:
GIT_CREDENTIALS: x-access-token:${{ secrets.ZOWE_ROBOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}
OVSX_PAT: ${{ secrets.VSCODE_ZOWE_ROBOT_PUBLISH_TOKEN }}
VSCE_PAT: ${{ secrets.VSCODE_PUBLISHER_TOKEN }}
OVSX_PAT: ${{ secrets.VSCODE_OVSX_PUBLISHER_TOKEN }}
VSCE_PAT: ${{ secrets.VSCODE_VSCE_PUBLISHER_TOKEN }}
with:
config-dir: .github
new-version: ${{ github.event.inputs.version }}
Expand Down

0 comments on commit 94a62db

Please sign in to comment.