Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
build: remove unneeded, failing labelling step (#890)
Browse files Browse the repository at this point in the history
release-please already adds the `autorelease:pending` label

It has been failing for quite awhile with:
```
SyntaxError: missing ) after argument list
    at new AsyncFunction (<anonymous>)
    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.<anonymous> (/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)
```
  • Loading branch information
chingor13 authored Dec 1, 2023
1 parent de60c24 commit b1da2ae
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`)

0 comments on commit b1da2ae

Please sign in to comment.