@@ -14,20 +14,20 @@ jobs:
14
14
- uses : actions/checkout@v2
15
15
- run : |
16
16
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
17
- - uses : actions/github-script@v1
18
- with :
19
- github-token : ${{secrets.GITHUB_TOKEN}}
20
- script : |
21
- const path = require('path')
22
- const { isUsingAlertBlock } = require(path.resolve(process.cwd(), 'scripts/tag-alert-blocks.js'))
17
+ # - uses: actions/github-script@v1
18
+ # with:
19
+ # github-token: ${{secrets.GITHUB_TOKEN}}
20
+ # script: |
21
+ # const path = require('path')
22
+ # const { isUsingAlertBlock } = require(path.resolve(process.cwd(), 'scripts/tag-alert-blocks.js'))
23
23
24
- isUsingAlertBlock().then(ok => {
25
- if (ok) {
26
- github.issues.addLabels({
27
- issue_number: context.issue.number,
28
- owner: context.repo.owner,
29
- repo: context.repo.repo,
30
- labels: ['review-alert-box']
31
- })
32
- }
33
- })
24
+ # isUsingAlertBlock().then(ok => {
25
+ # if (ok) {
26
+ # github.issues.addLabels({
27
+ # issue_number: context.issue.number,
28
+ # owner: context.repo.owner,
29
+ # repo: context.repo.repo,
30
+ # labels: ['review-alert-box']
31
+ # })
32
+ # }
33
+ # })
0 commit comments