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

  1. changed the title [-]Failed activation step[/-] [+]Failed activation step in staged mode[/+] on Mar 18, 2026
  2. pelikhan commented on Mar 18, 2026

    @pelikhan
    Collaborator

    Set tools.github.lockdown: false

  3. pelikhan commented on Mar 18, 2026

    @pelikhan
    Collaborator

    This will be fixed in future version

  4. pelikhan commented on Mar 18, 2026

    @pelikhan
    Collaborator

    fixed in latest release.

  5. pelikhan commented on Mar 18, 2026

    @pelikhan
    Collaborator

    What aw version do you have?

  6. mnkiefer commented on Mar 18, 2026

    @mnkiefer
    CollaboratorAuthor

    What aw version do you have?

    gh aw version v0.61.0

  7. pelikhan commented on Mar 18, 2026

    @pelikhan
    Collaborator

    Use v0.61.1

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