Skip to content

Commit

Permalink
fix(ci): adds write permission for github release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
isbecker committed Jun 25, 2024
1 parent 2621f76 commit 2d9fa6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
tags:
- 'v*-rc*' # Matches tags like v2.0.0-rc1, v2.0.0-rc2, etc.

permissions:
contents: write

env:
FETCH_DEPTH: 0 # pull in the tags for the version string

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
tags:
- 'v*.*.*' # Matches tags like v1.0.0, v2.0.0, etc., but not pre-releases

permissions:
contents: write

env:
FETCH_DEPTH: 0 # pull in the tags for the version string

Expand Down

0 comments on commit 2d9fa6d

Please sign in to comment.