Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Meric Akgul committed Jun 7, 2024
1 parent 5f48b82 commit bf2ba9c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ff-version-auto-bumper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.token }}
run: |
MAX_LENGTH=65536
SCOUT_OUTPUT="${{ steps.docker-scout.outputs.compare }}"
if [ ${#SCOUT_OUTPUT} -gt $MAX_LENGTH ]; then
PR_BODY="The Docker Scout output was too long to include in this PR."
else
PR_BODY="${SCOUT_OUTPUT}"
fi
# Using envsubst to handle potential special characters
echo "$PR_BODY" | envsubst > pr_body.txt
gh pr create -B '${{ github.event.repository.default_branch }}' -H 'bump-f!f-version-to-${{ env.REQUESTED_IMAGE_VERSION_TAG }}' -b "$(cat pr_body.txt)" -t 'bump-f!f-version-to-${{ env.REQUESTED_IMAGE_VERSION_TAG }}'
echo "SCOUT_OUTPUT: ${{ steps.docker-scout.outputs.compare }}"

0 comments on commit bf2ba9c

Please sign in to comment.