-
-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (38 loc) · 987 Bytes
/
build.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
34
35
36
37
38
39
name: Build
on:
workflow_dispatch:
issues:
types:
- opened
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: write-all
jobs:
build:
name: 'Xem quá trình'
if: github.repository == 'Zelooooo/OS' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Load data
uses: actions/checkout@v3
- name: Set Issues
uses: zlus/action-extract-issues@1.0.0
id: set_issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
match-reg: 'test +#(\d+)'
add-labels: enhancement
remove-labels: bug
add-comment: |
already fixed.
- name: lock-issues
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: 3
labels: 'duplicate'
body: test