-
-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (35 loc) · 916 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
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
- uses: actions-cool/pr-extract-issues@v1
with:
way: 'commit'
issues-labels: 'l1, l2'
remove-labels: 'bug1, bug2'
issues-comment: |
HI。这个 issue: ${number} 已经被修复了。
issues-close: true
- name: lock-issues
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: 3
labels: 'duplicate'
body: test