chore: fix docs PR label removing team label (#7308)
* chore: fix docs PR labeler to only run with PR is opened * add team labeler action * move docs labeler to team labeler
This commit is contained in:
13
.github/workflows/docs-pr-label.yml
vendored
13
.github/workflows/docs-pr-label.yml
vendored
@@ -1,13 +0,0 @@
|
||||
name: "Add Docs PR Label"
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: label-the-PR
|
||||
uses: actions/labeler@v5
|
||||
2
.github/workflows/team-labeler.yml
vendored
2
.github/workflows/team-labeler.yml
vendored
@@ -9,6 +9,8 @@ jobs:
|
||||
team-labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: label-the-PR
|
||||
uses: actions/labeler@v5
|
||||
- uses: JulienKode/team-labeler-action@v1.1.0
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
Reference in New Issue
Block a user