Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 Add Pull Request auto labelling #244

Merged
merged 1 commit into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Add Documentation Label
'Documentation':
- docs/**/*
- CONTRIBUTING.md
- LICENSE
- PROTOCOL.md
- README.md

'Environment':
- .github/*
- .github/**/*
- .coveragerc
- .editorconfig
- .flake8
- .gitignore
- .isort.cfg
- .pep8speaks.yml
- .pre-commit-config.yaml
- requirements.txt

'Service: 8ball'
- nab8balld/**

'Service: Air Quality'
- nabairqualityd/**

'Service: Book'
- nabbookd/**

'boot'
- nabboot/**

'Service: Clock'
- nabclockd/**

'common'
- nabcommon/**

'Service : Nab'
- nabd/**

'Service: Mastodon'
- nabmastodond/**

'Service: Surprise'
- nabsurprised/**

'Service: Tai chi'
- nabtaichid/**

'Service: Weather'
- nabweatherd/**

'web'
- nabweb/**

'Translations':
- **/*.po
18 changes: 18 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This workflow will apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labels.yml
# file with configuration. For more information, see:
# https://github.com/marketplace/actions/prow-github-actions

name: 🏷️ Pull Request Labeler
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"