Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 7daafa0

Browse files
authored
chore: Sync common workflows (#247)
This is an automated sync of common workflows for this organization. The upstream source is: shaka-project/shaka-github-tools@4245160 Co-authored-by: Shaka Bot <[email protected]>
1 parent 0db1566 commit 7daafa0

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/update-issues.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323

2424
- name: Update Issues
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
# Use SHAKA_BOT_TOKEN if found, otherwise the default GITHUB_TOKEN.
27+
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
2728
run: |
2829
cd update-issues
2930
npm ci
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
name: Validate PR Title
22

3-
# We recommend that maintainers use this Chrome/Firefox extension so that
4-
# squashed PRs will have the merged commit message default to the PR title and
5-
# description: https://github.com/zachwhaley/squashed-merge-message
6-
#
7-
# This avoids the need to amend commits after the fact to match the desired PR
8-
# syntax. As long as the PR itself is properly-formatted, this extension will
9-
# help you commit the right format to the repo, too. This, in turn, feeds the
10-
# changelog and release workflows.
11-
123
on:
134
# NOTE: The automated PRs from release-please-action do not seem to trigger
145
# any of the default PR triggers (opened, synchronize, reopened). So we need
156
# additional types. This is a good set that makes it easy to trigger the
16-
# workflow manually if needed.
7+
# workflow manually if needed. This is not neccessary if your release-please
8+
# workflow uses a personal access token (PAT) from Shaka Bot.
179
pull_request_target:
1810
types:
1911
- opened
@@ -30,6 +22,6 @@ jobs:
3022
name: Validate PR Title
3123
runs-on: ubuntu-latest
3224
steps:
33-
- uses: amannn/action-semantic-pull-request@v4
25+
- uses: amannn/action-semantic-pull-request@v5
3426
env:
3527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)