Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[actions] Fix parsing problem in the changelog action. #16940

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

rolfbjarne
Copy link
Member

@rolfbjarne rolfbjarne commented Dec 2, 2022

Fixes this:

SyntaxError: Unexpected identifier
    at new AsyncFunction (<anonymous>)
Error: Unhandled error: SyntaxError: Unexpected identifier
    at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13356:16)
    at main (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13452:26)
    at Module.858 (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13429:1)
    at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:24:31)
    at startup (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:43:19)
    at /home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:49:18
    at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:52:10)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

by not storing the changelog entry in an environment variable between tasks,
but instead store it on disk.

@rolfbjarne rolfbjarne added skip-all-tests Skip all the tests skip-api-comparison Skips API / generator diffs when testing pull requests labels Dec 2, 2022
Fixes this:

    SyntaxError: Unexpected identifier
        at new AsyncFunction (<anonymous>)
    Error: Unhandled error: SyntaxError: Unexpected identifier
        at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13356:16)
        at main (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13452:26)
        at Module.858 (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13429:1)
        at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:24:31)
        at startup (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:43:19)
        at /home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:49:18
        at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:52:10)
        at Module._compile (node:internal/modules/cjs/loader:1101:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

by not storing the changelog entry in an environment variable between tasks,
but instead store it on disk.
@rolfbjarne rolfbjarne changed the title [TESTING PR] [actions] Fix parsing problem in the changelog action. [actions] Fix parsing problem in the changelog action. Dec 2, 2022
@rolfbjarne rolfbjarne marked this pull request as ready for review December 2, 2022 10:03
@rolfbjarne rolfbjarne merged commit 0a9260d into xamarin:main Dec 6, 2022
@rolfbjarne rolfbjarne deleted the debug-changelog-problem branch December 6, 2022 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-all-tests Skip all the tests skip-api-comparison Skips API / generator diffs when testing pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants