We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9911771 commit 906ec53Copy full SHA for 906ec53
1 file changed
.github/workflows/deploy-trigger.yml
@@ -18,6 +18,15 @@ jobs:
18
runs-on: ubuntu-latest
19
20
steps:
21
+ - name: Debug Token Availability
22
+ run: |
23
+ if [ -z "${{ secrets.CLASSIC_PATKA }}" ]; then
24
+ echo "CLASSIC_PATKA secret is not set or is empty"
25
+ echo "Will fallback to github.token"
26
+ else
27
+ echo "CLASSIC_PATKA secret is available"
28
+ fi
29
+
30
- name: Setup GitHub CLI
31
uses: actions/setup-node@v4
32
with:
@@ -26,7 +35,7 @@ jobs:
35
- name: Trigger Workflow in Another Repository
36
uses: actions/github-script@v8
37
- github-token: ${{ secrets.CLASSIC_PATKA }}
38
+ github-token: ${{ secrets.CLASSIC_PATKA || github.token }}
39
script: |
40
await github.rest.repos.createDispatchEvent({
41
owner: 'IgniteUI',
0 commit comments