Browse Source
Create label-bugs.yml
renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
18 additions and
0 deletions
-
.github/workflows/label-bugs.yml
|
|
@ -0,0 +1,18 @@ |
|
|
|
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/[email protected] |
|
|
|
with: |
|
|
|
actions: 'add-labels' |
|
|
|
token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
issue-number: ${{ github.event.issue.number }} |
|
|
|
labels: 'bug' |