Update pr.yml

This commit is contained in:
William Harrison authored and GitHub committed 2023-02-18 07:29:28 +08:00
1 parent 95c4bf2be2
commit 467c150cca
1 file changed
+10
+10
View File
@@ -15,3 +15,13 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
check-star:
name: Check Star
runs-on: ubuntu-latest
steps:
- { uses: gacts/is-stargazer@v1, with: { username: "${{ github.event.pull_request.user.login }}" }, id: check-star }
- if: steps.check-star.outputs.is-stargazer != 'true'
uses: actions/github-script@v6
with:
script: core.setFailed('⭐ Please star the repository!')