Skip to content

Commit 2e8a9c4

Browse files
committed
chore: Temporary disable tag alert actions
1 parent e2c21e0 commit 2e8a9c4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/pr.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- run: |
1616
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'))
2323

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

Comments
 (0)