mirror of
https://github.com/yanhao98/semantic-release-action-example.git
synced 2025-07-12 21:50:49 +08:00
fix: 更新CI工作流权限配置以支持发布和评论功能
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -13,8 +13,10 @@ jobs:
|
||||
next_release_version: ${{ steps.semantic.outputs.next_release_version }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions: # Job-level permissions configuration starts here
|
||||
contents: write # 'write' access to repository contents
|
||||
id-token: write
|
||||
contents: write # to be able to publish a GitHub release
|
||||
issues: write # to be able to comment on released issues
|
||||
pull-requests: write # to be able to comment on released pull requests
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
Reference in New Issue
Block a user