mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
a090001426
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>
31 lines
1.0 KiB
YAML
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 }}
|