Skip to content

Commit

Permalink
Merge pull request #70 from openfoodfacts/pr-labeler
Browse files Browse the repository at this point in the history
ci: Label PRs automatically
  • Loading branch information
teolemon authored Oct 22, 2022
2 parents 3122a47 + 9751984 commit dbed1fb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add labels to any any pull request with changes to the specified paths

github:
- .github/**/*
22 changes: 22 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and 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/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit dbed1fb

Please sign in to comment.