Skip to content

Commit

Permalink
Echo
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jan 2, 2025
1 parent 93f8387 commit 2518c13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/each.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
# Run workflow for each commit where the status isn't "pending" or "success"
for commit in $commits; do
echo $commit
status=$(gh api repos/${GITHUB_REPOSITORY}/commits/${commit}/status | jq -r '.state')
echo $status
if [[ $status != "pending" && $status != "success" ]]; then
echo "Running rcc for commit $commit"
gh workflow run rcc.yaml -f ref=$commit
Expand Down

0 comments on commit 2518c13

Please sign in to comment.