Skip to content

Commit

Permalink
fix(ci): updated permissions (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiran94 authored Apr 30, 2023
1 parent b15e11a commit 5c99c80
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- name: Release
uses: go-semantic-release/action@v1
- uses: actions/checkout@v3
- uses: go-semantic-release/action@v1
if: github.ref == 'refs/heads/main'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5c99c80

Please sign in to comment.