From 2e8a9c4d65dd3567b10833d95921d2d0974c9cb4 Mon Sep 17 00:00:00 2001 From: Takuma HANATANI Date: Mon, 5 Oct 2020 23:28:23 +0900 Subject: [PATCH] chore: Temporary disable tag alert actions --- .github/workflows/pr.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 13d6da21..07550885 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -14,20 +14,20 @@ jobs: - uses: actions/checkout@v2 - run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/github-script@v1 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const path = require('path') - const { isUsingAlertBlock } = require(path.resolve(process.cwd(), 'scripts/tag-alert-blocks.js')) + # - uses: actions/github-script@v1 + # with: + # github-token: ${{secrets.GITHUB_TOKEN}} + # script: | + # const path = require('path') + # const { isUsingAlertBlock } = require(path.resolve(process.cwd(), 'scripts/tag-alert-blocks.js')) - isUsingAlertBlock().then(ok => { - if (ok) { - github.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['review-alert-box'] - }) - } - }) + # isUsingAlertBlock().then(ok => { + # if (ok) { + # github.issues.addLabels({ + # issue_number: context.issue.number, + # owner: context.repo.owner, + # repo: context.repo.repo, + # labels: ['review-alert-box'] + # }) + # } + # })