chore: move chunk to new repo #18187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Title Validation | |
on: | |
# pull_request_target is ok until we do not checkout and build external code | |
# TODO: maybe it is not required after all https://github.com/amannn/action-semantic-pull-request/issues/219 | |
pull_request_target: | |
types: [opened, reopened, synchronize, edited] | |
permissions: | |
pull-requests: read | |
jobs: | |
title-check: | |
name: Check PR Title | |
runs-on: ubuntu-latest | |
steps: | |
- name: All PRs | |
uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Bounty PRs | |
if: contains(github.event.pull_request.labels.*.name, '🙋 Bounty claim') | |
uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
requireScope: true | |
scopes: \d+ |