Skip to content

Commit

Permalink
Bind the token to a var and pray
Browse files Browse the repository at this point in the history
  • Loading branch information
karbowiak committed Jul 2, 2024
1 parent 6e0682b commit 436f3f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/trigger-umbrella.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
# Get the branch name
branch_name=${{ github.ref_name }}
# Bind the token to a variable
token=${{ secrets.REPO_DISPATCH_TOKEN }}
# Valid branches are main and develop, fail on anything else
if [ "$branch_name" != "main" ] && [ "$branch_name" != "develop" ]; then
echo "Invalid branch name: $branch_name"
Expand Down

0 comments on commit 436f3f3

Please sign in to comment.