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:
@@ -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
|
|
||||||
@@ -9,6 +9,8 @@ jobs:
|
|||||||
team-labeler:
|
team-labeler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- id: label-the-PR
|
||||||
|
uses: actions/labeler@v5
|
||||||
- uses: JulienKode/team-labeler-action@v1.1.0
|
- uses: JulienKode/team-labeler-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
Reference in New Issue
Block a user