Skip to content

Commit

Permalink
Merge pull request #551 from xinlian12/updateRelease
Browse files Browse the repository at this point in the history
updateReleaseToGiveActionWritePermission
  • Loading branch information
xinlian12 authored Feb 28, 2024
2 parents 00ee1f0 + 9eeaa5e commit 5cee2bb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ name: Build and create release

jobs:
build:

name: Build and upload release binary
if: ${{ startsWith(github.ref, 'refs/tags/v')}}
runs-on: ubuntu-latest

permissions:
actions: write
contents: read
deployments: write
packages: write
pull-requests: write
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 5cee2bb

Please sign in to comment.