2021-05-13 20:09:38 +00:00
|
|
|
name: "Label PRs"
|
|
|
|
|
|
|
|
on:
|
|
|
|
# only execute base branch actions
|
|
|
|
pull_request_target:
|
|
|
|
|
2022-05-08 01:00:16 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-05-13 20:09:38 +00:00
|
|
|
jobs:
|
|
|
|
labels:
|
2022-05-08 01:00:16 +00:00
|
|
|
permissions:
|
|
|
|
contents: read # for actions/labeler to determine modified files
|
|
|
|
pull-requests: write # for actions/labeler to add labels to PRs
|
2021-05-13 20:09:38 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.repository_owner == 'freifunk-gluon'
|
|
|
|
steps:
|
2022-04-01 13:48:45 +00:00
|
|
|
- uses: actions/labeler@v4
|
2021-05-13 20:09:38 +00:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
sync-labels: true
|