forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (24 loc) · 806 Bytes
/
label.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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: Automatically add relevant labels to Pull Requests
on:
- pull_request_target
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
label:
runs-on: ubuntu-latest
#if: github.event.pull_request.head.repo.full_name == github.repository
#if: ${{ github.repository_owner == 'openfoodfacts' }}
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"