Skip to content

Commit

Permalink
Auto-label v0.1 PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed May 8, 2020
1 parent 3d661fb commit 1dc243e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr-labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: v0.1 PR labeler

on:
pull_request:
types: [opened]

jobs:
labeler:
runs-on: ubuntu-latest

steps:
- name: Labeler
uses: actions/github-script@0.9.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.addLabels({
labels: ['v0.1'],
issue_number: context.issue.number,
...context.repo,
})

0 comments on commit 1dc243e

Please sign in to comment.