Skip to content

Commit

Permalink
cancel running workflows from the same branch(args)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Apr 21, 2024
1 parent 3b0040d commit 1cd0d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_reuse_go_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
repo: ${{ GITHUB.REPOSITORY }}
branch: ${{ github.event.pull_request.head.ref }}
running-workflow: ${{ inputs.running_workflow }}
runningworkflow: ${{ inputs.running_workflow }}

- name: Cache Go - Modules
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion scripts/cancelworkflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rp=${repo}
br=${branch}
wf=${running-workflow}
wf=${runningworkflow}
echo "repo: ${rp}"
echo "branch: ${br}"
echo "workflow: ${wf}"
Expand Down

0 comments on commit 1cd0d4a

Please sign in to comment.