ci: add labels
This commit is contained in:
parent
5b2d35a3ef
commit
41773e97d5
|
@ -10,11 +10,8 @@ jobs:
|
||||||
name: 为 PR 添加标签
|
name: 为 PR 添加标签
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Add labels
|
|
||||||
uses: jumpserver/action-generic-handler@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-ecosystem/action-add-labels@v1
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
with:
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUBTOKEN }}
|
||||||
labels: ${{ github.base_ref }}
|
labels: ${{ github.base_ref }}
|
||||||
|
|
|
@ -15,7 +15,3 @@ jobs:
|
||||||
uses: jumpserver/action-generic-handler@master
|
uses: jumpserver/action-generic-handler@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions-ecosystem/action-add-labels@v1
|
|
||||||
with:
|
|
||||||
labels: ${{ github.base_ref }}
|
|
Loading…
Reference in New Issue