mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-17 12:12:46 -05:00
cfa3527118
Implements https://github.com/GiteaBot/gitea-backporter/issues/93 using [`actions/labeler`](https://github.com/actions/labeler). Very basic configuration, can be extended later.
21 lines
412 B
YAML
21 lines
412 B
YAML
name: labeler
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
label:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/labeler@v4
|
|
with:
|
|
dot: true
|
|
sync-labels: true
|