Files
shaka-player/.github/workflows/validate-pr-title.yaml
T
Shaka Bot a090001426 chore: Sync common workflows (#9961)
This is an automated sync of common workflows for this organization.
The upstream source is:

https://github.com/shaka-project/shaka-github-tools/commit/f9ba86e298a6ad69554df21e84f384aa5fd38819

Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
2026-04-10 10:01:12 -07:00

31 lines
1.0 KiB
YAML

# NOTE: This is a copy synced from:
# shaka-project/shaka-github-tools/validate-pr-title/validate-pr-title.yaml
# Any changes should be made there to be synced across shaka-project repos.
name: Validate PR Title
on:
# NOTE: The automated PRs from release-please-action do not seem to trigger
# any of the default PR triggers (opened, synchronize, reopened). So we need
# additional types. This is a good set that makes it easy to trigger the
# workflow manually if needed. This is not neccessary if your release-please
# workflow uses a personal access token (PAT) from Shaka Bot.
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
- assigned
- labeled
- ready_for_review
- review_requested
jobs:
main:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # 6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}