diff options
Diffstat (limited to '.github/workflows/pr-auto-tag.yaml')
-rw-r--r-- | .github/workflows/pr-auto-tag.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/pr-auto-tag.yaml b/.github/workflows/pr-auto-tag.yaml new file mode 100644 index 0000000000..28cf139d6c --- /dev/null +++ b/.github/workflows/pr-auto-tag.yaml @@ -0,0 +1,19 @@ +name: PR Auto Tag +on: + pull_request_target: + types: [opened, reopened, synchronize, edited] +permissions: + contents: read # to determine modified files (actions/labeler) + +jobs: + triage: + permissions: + contents: read # to determine modified files (actions/labeler) + pull-requests: write # to add labels to PRs (actions/labeler) + + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: "" |