Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/sync-cac-oscal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ jobs:
done < "$GITHUB_WORKSPACE"/updates
# Step 10: Check if there is any existing open PR
- name: Check if there is any existing open PR
if: ${{ env.CHANGE_FOUND == 'true' }}
run: |
cd oscal-content
# Use the GitHub CLI to search for an open PR.
Expand Down Expand Up @@ -332,7 +333,7 @@ jobs:
--head $BRANCH_NAME --state open --json id \
| jq length)
if [ "$PR_EXISTS" -gt 0 ]; then
echo "PR ${{ env.BRANCH_NAME }} already exists. Skipping PR creation.
echo "PR ${{ env.BRANCH_NAME }} already exists. Skipping PR creation."
echo "Add a comment for the CAC PR ${{ env.PR_NUMBER }}."
gh pr comment ${{ env.BRANCH_NAME }} --body "${PR_BODY}"
else
Expand Down
Loading