Skip to content

Failed activation step in staged mode #21641

Description

@mnkiefer

A user has reported a failing activation pipieline step when using frontmatter such as:

steps:
  - uses: actions/github-script@v8

safe-outputs:
  staged: true`

Error message:

Lockdown mode not explicitly enabled, skipping validation
Repository visibility: unknown
Compiled with strict mode: true
ReferenceError: core is not defined
    at logStagedPreviewInfo (/opt/gh-aw/actions/staged_preview.cjs:43:3)
    at main (/opt/gh-aw/actions/generate_aw_info.cjs:101:5)
    at async eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/ed597411d8f924073f98dfc5c65a23a2325f34cd/dist/index.js:36187:16), <anonymous>:4:1)
    at async main (/home/runner/work/_actions/actions/github-script/ed597411d8f924073f98dfc5c65a23a2325f34cd/dist/index.js:36285:20)
Error: Unhandled error: ReferenceError: core is not defined

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions