From b1da2aee9f556aa1e7f983e52cd68c8ab8389b63 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 1 Dec 2023 12:02:30 -0800 Subject: [PATCH] build: remove unneeded, failing labelling step (#890) release-please already adds the `autorelease:pending` label It has been failing for quite awhile with: ``` SyntaxError: missing ) after argument list at new AsyncFunction () at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:7514:16) Error: Unhandled error: SyntaxError: missing ) after argument list at main (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:7541:26) at Module.720 (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:7525:1) at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:24:31) at startup (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:43:[19](https://github.com/google-github-actions/release-please-action/actions/runs/7064411294/job/19232404141#step:3:20)) at /home/runner/work/_actions/actions/github-script/v3/dist/index.js:49:18 at Object. (/home/runner/work/_actions/actions/github-script/v3/dist/index.js:52:10) at Module._compile (node:internal/modules/cjs/loader:1198:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1[25](https://github.com/google-github-actions/release-please-action/actions/runs/7064411294/job/19232404141#step:3:26)2:10) ``` --- .github/workflows/release-please.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 3985ffd..ce21f99 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -97,17 +97,3 @@ jobs: release-type: node fork: true skip-github-release: true - - id: label - if: ${{ steps.release-pr.outputs.pr }} - uses: actions/github-script@v3 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/'); - await github.issues.addLabels({ - owner, - repo, - issue_number: ${{steps.release-pr.outputs.pr}}, - labels: ['autorelease: pending'] - }); - console.log(`Tagged ${{steps.release-pr.outputs.pr}}`)