Skip to content

Commit df8c729

Browse files
let github remove label action logs
1 parent dd8fb8f commit df8c729

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/label-bugs.yml

+5
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ jobs:
1616
token: ${{ secrets.GITHUB_TOKEN }}
1717
issue-number: ${{ github.event.issue.number }}
1818
labels: 'bug'
19+
- name: Remove runs
20+
uses: GongT/cancel-previous-workflows@master
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
DELETE: true

.github/workflows/label-duplicates.yml

+5
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ jobs:
1616
token: ${{ secrets.GITHUB_TOKEN }}
1717
issue-number: ${{ github.event.issue.number }}
1818
labels: 'duplicate'
19+
- name: Remove runs
20+
uses: GongT/cancel-previous-workflows@master
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
DELETE: true

0 commit comments

Comments
 (0)