Conditional testing.

This commit is contained in:
2024-12-17 12:37:04 -05:00
parent 634430a60b
commit 3cddf972ef
@@ -34,7 +34,7 @@ jobs:
echo "pr_status=$(jq -c . pr_status.json)" >> "$GITHUB_OUTPUT"
- name: Status check
if: ${{ steps.check-pr.outputs.pr_status.state == 'closed' }}
if: ${{ steps.check-pr.outputs.pr_status.state }} == 'closed'
run: echo "PR is closed, creating a new one..."
- name: Get PR status