Skip to content

Commit

Permalink
permissions on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
simoleone committed Aug 10, 2023
1 parent d129de3 commit b0e7f6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch release assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh --repo ${{ github.event.repository.full_name }} release download ${{ github.event.release.tag_name }}
- name: Publish to Jetbrains Marketplace
Expand Down

0 comments on commit b0e7f6b

Please sign in to comment.