mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix(actions): Make it possible for users with write access to make preview releases (#10903)
This commit is contained in:
parent
76980362dd
commit
b6f011d7c0
1 changed files with 2 additions and 2 deletions
4
.github/workflows/snapshot-release.yml
vendored
4
.github/workflows/snapshot-release.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
|||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: "Check if user has admin access (only admins can publish snapshot releases)."
|
||||
- name: "Check if user has write access"
|
||||
uses: "lannonbr/repo-permission-check-action@2.0.2"
|
||||
with:
|
||||
permission: "admin"
|
||||
permission: "write"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue