Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Mar 1, 2024
1 parent b17c404 commit c03dbaa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ jobs:
echo "head_commit_message = $(git show -s --format=%B | tr '\r\n' ' ' | tr '\n' ' ')"
if [[ $head_commit_message == *"[skip spelling]"* ]]; then
echo "Skip instruction detected - cancelling the workflow."
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v2.44.1/gh_2.44.1_linux_amd64.tar.gz
tar -xzf gh.tar.gz --strip-components 2
./gh run cancel ${{ github.run_id }}
./gh run watch ${{ github.run_id }}
fi
shell: bash
env:
Expand Down

0 comments on commit c03dbaa

Please sign in to comment.