plonky2/.github/pr_checking.yml
2024-06-27 02:36:22 +09:00

23 lines
560 B
YAML

name: PR check
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
title:
name: Validate PR
runs-on: ubuntu-latest
if: ${{
github.event.pull_request.author_association != 'CONTRIBUTOR' &&
github.event.pull_request.author_association != 'MEMBER' &&
(
contains(fromJSON(secrets.RESTRICTED_KEYWORDS), github.event.pull_request.title) ||
contains(fromJSON(secrets.RESTRICTED_KEYWORDS), github.event.pull_request.description
) }}
steps:
- run: gh pr close