Skip to content

Commit

Permalink
fix(workflow): Add necessary permissions to job
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 committed Jan 15, 2024
1 parent db5b666 commit 909423c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI Publish

permissions:
contents: write

on:
push:
tags:
Expand Down Expand Up @@ -37,7 +40,7 @@ jobs:
- name: Upload Release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
with:
file: "inspector/build/*.jar"
tags: true
Expand Down

0 comments on commit 909423c

Please sign in to comment.