Skip to content

Commit

Permalink
Merge pull request #61 from blinklabs-io/ci/workflow-permissions
Browse files Browse the repository at this point in the history
ci: GHA workflow permissions, fixes publish
  • Loading branch information
MIxAxIM authored Feb 22, 2025
2 parents 1ab5e7a + 5a6768c commit fa807e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
go-test:
name: go-test
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ concurrency: ${{ github.ref }}
jobs:
create-release:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
RELEASE_ID: ${{ steps.create-release.outputs.result }}
steps:
Expand Down

0 comments on commit fa807e4

Please sign in to comment.