diff --git a/.github/workflows/label-bugs.yml b/.github/workflows/label-bugs.yml index 6bbb86e8..0400f16a 100644 --- a/.github/workflows/label-bugs.yml +++ b/.github/workflows/label-bugs.yml @@ -16,3 +16,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: 'bug' + - name: Remove runs + uses: GongT/cancel-previous-workflows@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DELETE: true diff --git a/.github/workflows/label-duplicates.yml b/.github/workflows/label-duplicates.yml index bffe2a54..26ed4de3 100644 --- a/.github/workflows/label-duplicates.yml +++ b/.github/workflows/label-duplicates.yml @@ -16,3 +16,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} labels: 'duplicate' + - name: Remove runs + uses: GongT/cancel-previous-workflows@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DELETE: true