Skip to content

Commit

Permalink
ci: Update workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
slavek-kucera authored Mar 21, 2023
1 parent 0e18699 commit 0f59395
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ jobs:

VSIX:
runs-on: ubuntu-22.04
permissions:
contents: write
issues: write
pull-requests: write
needs: [build-matrix]

steps:
Expand Down Expand Up @@ -308,6 +312,10 @@ jobs:
release:
name: Release VSIXs
runs-on: ubuntu-22.04
permissions:
contents: write
issues: write
pull-requests: write
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || (github.event_name == 'push' && github.ref == 'refs/heads/release-next')
needs: [VSIX, test-matrix, sanitizer-builds, theia-test]

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/Wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
docs-to-wiki:
name: Publish documentation to wiki
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout base code
Expand Down

0 comments on commit 0f59395

Please sign in to comment.