diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..832ca446b --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,11 @@ +# Configuration file for the Pull Request Labeler bot + +# Add `new icon` label when there is an SVG added to the icons/ directory +"new icon": + - on: added + - icons/*.svg + +# Add `icon outdated` label when there is an SVG modified to the icons/ directory +"icon outdated": + - on: modified + - icons/*.svg diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml new file mode 100644 index 000000000..14f295a6d --- /dev/null +++ b/.github/workflows/pull_requests.yml @@ -0,0 +1,11 @@ +name: Pull Requests +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + + steps: + - uses: ericcornelissen/labeler@master + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"