Skip to content

Commit

Permalink
cancel running workflows from the same branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Apr 21, 2024
1 parent b6c93d5 commit b51025e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci_reuse_go_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ jobs:
fetch-depth: 0

- name: Check pull request file size
if: github.event_name == 'pull_request'
run: curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/checkPR.sh | bash
env:
token: ${{ secrets.reporeading_token }}
pr_number: ${{ github.event.number }}

- name: Check if another workflow running and cancel it
if: github.event_name == 'pull_request'
run: curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/cancelworkflow.sh | bash
env:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
Expand Down

0 comments on commit b51025e

Please sign in to comment.