0
Fork 0
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:
Erika 2024-04-29 12:51:30 +02:00 committed by GitHub
parent 76980362dd
commit b6f011d7c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}