Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <[email protected]>
  • Loading branch information
coleenquadros committed Jul 22, 2024
1 parent 9485b5b commit bc69fbf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/merge-acm-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,15 @@ jobs:
continue-on-error: true
id: slack-message
run: |

Check failure on line 271 in .github/workflows/merge-acm-flow.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/merge-acm-flow.yaml#L271

shellcheck reported issue in this script: SC2086:info:7:149: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/merge-acm-flow.yaml:271:9: shellcheck reported issue in this script: SC2086:info:7:149: Double quote to prevent globbing and word splitting [shellcheck]

Check failure on line 271 in .github/workflows/merge-acm-flow.yaml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/merge-acm-flow.yaml#L271

shellcheck reported issue in this script: SC2086:info:9:109: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/merge-acm-flow.yaml:271:9: shellcheck reported issue in this script: SC2086:info:9:109: Double quote to prevent globbing and word splitting [shellcheck]
if [ ${{ steps.pr-exists.outputs.pr_exists }} != '1' ] || [ ${{ steps.fork-sync.outputs.status }} == "uptodate" ] || [ ${{ steps.fork-sync.outputs.status }} == "ahead" ] ; then
if [ "${{ steps.pr-exists.outputs.pr_exists }}" == "1" ]; then
PR_URL="${{ steps.pr-exists.outputs.pr_url }}"
else
PR_URL="${{ steps.create-pr.outputs.pull-request-url }}"
fi
if [ "${{ steps.fork-sync.outputs.status }}" == "uptodate" ] || [ "${{ steps.fork-sync.outputs.status }}" == "ahead" ]; then
echo "message=${{ inputs.downstream }} is already ${{ steps.fork-sync.outputs.status }} with tag ${{ steps.org.outputs.downstream-version }}." >> $GITHUB_OUTPUT
else
echo "message=PR ${{ steps.create-pr.outputs.pull-request-url }} || ${{ steps.pr-exists.outputs.pr_url }} has been ${{ steps.create-pr.outputs.pull-request-operation || 'updated' }}." >> $GITHUB_OUTPUT
echo "message=PR $PR_URL has been ${{ steps.create-pr.outputs.pull-request-operation || 'updated' }}." >> $GITHUB_OUTPUT
fi
- uses: 8398a7/action-slack@v3
if: github.event_name != 'pull_request' && (success() || steps.fork-sync.outputs.status == 'uptodate' || steps.fork-sync.outputs.status == 'ahead' || steps.pr-exists.outputs.pr_exists == '1')
Expand Down

0 comments on commit bc69fbf

Please sign in to comment.