Skip to content

Commit

Permalink
Merge pull request #117 from jmredfern/notify-this
Browse files Browse the repository at this point in the history
Update PR labeler
  • Loading branch information
Jim Redfern authored Mar 26, 2021
2 parents 97629fa + d6c91a9 commit 8b9ed8f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/labels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"labels": {
"notify": {
"name": "notify",
"colour": "#00ff00",
"description": "Causes notifications about updates to the PR to be sent."
}
},
"pr": {
"notify": {
"requires": 1,
"conditions": [
{
"type": "branchMatches",
"pattern": "^((?!^dependabot\/).)*$"
}
]
}
}
}
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: Label PRs
uses: srvaroa/labeler@v0.6
'on':
- pull_request
jobs:
build:
label:
runs-on: ubuntu-latest
name: Label issues and pull requests
steps:
- uses: srvaroa/labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- uses: IvanFon/super-labeler-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8b9ed8f

Please sign in to comment.