mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-23 09:19:39 +00:00
Add contents: write permission to release step (#4911)
This commit is contained in:
parent
ec609f5c3b
commit
222ca98a41
1 changed files with 3 additions and 1 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -400,6 +400,8 @@ jobs:
|
|||
permissions:
|
||||
# For pypi trusted publishing
|
||||
id-token: write
|
||||
# For GitHub release publishing
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
|
@ -415,7 +417,7 @@ jobs:
|
|||
with:
|
||||
name: binaries
|
||||
path: binaries
|
||||
- name: Release
|
||||
- name: "Publish to GitHub"
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: binaries/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue