From df8c7295958008a86d25b6f71bf21327000106f8 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 6 Jul 2021 10:16:13 -0400 Subject: [PATCH] let github remove label action logs --- .github/workflows/label-bugs.yml | 5 +++++ .github/workflows/label-duplicates.yml | 5 +++++ 2 files changed, 10 insertions(+) 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