Skip to content

Commit

Permalink
add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
xtccc committed Oct 31, 2024
1 parent 7e4f763 commit 5f92550
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ jobs:

# 仅在推送以 "v" 开头的标签时运行
if: startsWith(github.ref, 'refs/tags/v')

permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
with:
name: go_webdav_client-build

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 5f92550

Please sign in to comment.