mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 18:24:14 +01:00
ab074c9b98
Alternative to https://github.com/go-gitea/gitea/pull/27439. Removes a few spammy labels, and disables `sync-labels` which make it never remove labels (which is default behaviour).
20 lines
384 B
YAML
20 lines
384 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
|