Skip to content

Commit 9dd4d9c

Browse files
ci: fix dispatch by providing secret directly (and not as env var) (#58)
1 parent a4d5b72 commit 9dd4d9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/kubernetes_apply_dispatch.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141
uses: peter-evans/repository-dispatch@de78ac1a711fc6f29e77338f843065faf5335227 # Commit from 19 Sep 2025
4242
env:
4343
CHANGED_SUBDIRS: ${{ steps.changed-subdirs.outputs.changed_subdirs }}
44-
TRIGGERING_TOKEN: ${{ secrets.PAT_FOR_TRIGGERING_PRIVATE_WORKFLOWS }}
4544
with:
46-
token: $TRIGGERING_TOKEN
45+
token: ${{ secrets.PAT_FOR_TRIGGERING_PRIVATE_WORKFLOWS }}
4746
repository: felix-seifert/gohfert-cluster-private-runners
4847
event-type: kubernetes-manifests-apply
4948
client-payload: '{"ref": "${{ github.ref }}", "changed_kubernetes_subdirs": "$CHANGED_SUBDIRS"}'

0 commit comments

Comments
 (0)