Skip to content

Commit

Permalink
Use current branch when triggering other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSerth committed Feb 8, 2025
1 parent f42724e commit 85f233d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
for workflow in .github/workflows/*.yml; do
if [[ ! " ${EXCLUDE_WORKFLOWS[@]} " =~ " $(basename $workflow) " ]]; then
echo "Triggering workflow run $(basename $workflow)"
gh workflow run $(basename $workflow)
gh workflow run $(basename $workflow) --ref ${{ github.ref_name }}
fi
done

0 comments on commit 85f233d

Please sign in to comment.