generated from virtual-labs/ph3-exp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 880 Bytes
/
labels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: labels
on:
push:
branches:
- main
paths:
- '.github/labels.yml'
- '.github/workflows/labels.yml'
jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v3
# The following job will delete the script that creates dev and testing branches
- uses: actions/checkout@v2
- run: |
git config --local user.email "[email protected]"
git config --local user.name "vleadadmin"
git checkout main
git rm -rf .github/workflows/labels.yml
git commit -m "Label script is deleted."
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
force: true
branch: main