mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 00:03:10 +00:00
fix: get PR check workflow to work properly
This commit is contained in:
parent
25d062afeb
commit
cedffae4f6
2
.github/workflows/pr_checking.yml
vendored
2
.github/workflows/pr_checking.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Close PR if spam are found and author is not a contributor or member
|
- name: Close PR if spam are found and author is not a contributor or member
|
||||||
if: ${{ env.is_spam == 'true' && github.event.pull_request.author_association != 'CONTRIBUTOR' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER' }}
|
if: ${{ env.is_spam == 'true' && github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' }}
|
||||||
run: gh pr close ${{ github.event.pull_request.number }} --comment "Spam detected"
|
run: gh pr close ${{ github.event.pull_request.number }} --comment "Spam detected"
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Loading…
x
Reference in New Issue
Block a user