1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00
BarInsta/.github/workflows/label-bugs.yml
Austin Huang 86b6df315c
*sigh*
2021-07-06 14:34:20 -04:00

24 lines
598 B
YAML

name: Label bugs
on:
issues:
types: [opened]
jobs:
add-labels:
runs-on: ubuntu-latest
if: contains(github.event.issue.body, 'New Trace collected:') == true
steps:
- name: Add labels
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'add-labels'
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: 'yes'