mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
ffc47b90d1
This is an automated sync of common workflows for this organization. The upstream source is: https://github.com/shaka-project/shaka-github-tools/commit/4245160a0b8577baae0ffb75b6b365d850d52fde Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
28 lines
790 B
YAML
28 lines
790 B
YAML
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@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|