Skip to content

Commit e00a591

Browse files
committed
chore: manually trigger github workflows on automated pr
1 parent 567bed9 commit e00a591

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/check-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Check project
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- main

.github/workflows/upgrade-template-deps.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9+
actions: write
910
contents: write
1011
pull-requests: write
1112

@@ -50,5 +51,11 @@ jobs:
5051
--body "Automated upgrade of template dependencies via \`scripts/upgrade-template-deps.mts\`." \
5152
--label "dependencies"
5253
fi
54+
55+
# Workflows triggered by github.token don't run on the pushed branch,
56+
# so dispatch the required validation workflows explicitly.
57+
for workflow in check-project.yml build-templates.yml; do
58+
gh workflow run "$workflow" --ref "$branch"
59+
done
5360
env:
5461
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)