Barinsta/.github/workflows/label-bugs.yml

24 lines
598 B
YAML
Raw Normal View History

2021-03-25 15:40:05 +01:00
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'
2021-07-06 16:16:13 +02:00
- name: Remove runs
uses: GongT/cancel-previous-workflows@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2021-07-06 20:34:20 +02:00
DELETE: 'yes'