Skip to content

Commit

Permalink
Modified jq syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusB-DevOps committed Dec 9, 2024
1 parent 5238552 commit 54de3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
echo "User mapping: $user_mapping"
echo "GitHub actor: $github_actor"
user_data=$(echo "$user_mapping" | jq -r ".$github_actor")
user_data=$(echo "$user_mapping" | jq -r '[".$github_actor"]')
if [[ -z "$user_data" ]]; then
echo "No user mapping found for $github_actor"
Expand Down

0 comments on commit 54de3ff

Please sign in to comment.