Skip to content

Commit fd77eaf

Browse files
committed
Add debug step for dispatch
1 parent 767b25f commit fd77eaf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/dispatch-roadmap-update.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Dispatch Roadmap Update
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [labeled]
66

77
jobs:
@@ -12,6 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Debug secret
16+
run: |
17+
if [ -z "${{ secrets.PROJECT_TOKEN }}" ]; then
18+
echo "❌ PROJECT_TOKEN is not set"
19+
exit 1
20+
else
21+
echo "✅ PROJECT_TOKEN is present"
22+
fi
1523
- name: Trigger privileged workflow via repository_dispatch
1624
uses: peter-evans/repository-dispatch@v3
1725
with:

0 commit comments

Comments
 (0)