We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567bed9 commit e00a591Copy full SHA for e00a591
.github/workflows/check-project.yml
@@ -1,5 +1,6 @@
1
name: Check project
2
on:
3
+ workflow_dispatch:
4
push:
5
branches:
6
- main
.github/workflows/upgrade-template-deps.yml
@@ -6,6 +6,7 @@ on:
workflow_dispatch:
7
8
permissions:
9
+ actions: write
10
contents: write
11
pull-requests: write
12
@@ -50,5 +51,11 @@ jobs:
50
51
--body "Automated upgrade of template dependencies via \`scripts/upgrade-template-deps.mts\`." \
52
--label "dependencies"
53
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
60
env:
61
GH_TOKEN: ${{ github.token }}
0 commit comments