Skip to content

Option staged: true does not work within individual safe outputs #22409

Description

@mnkiefer
  • Putting staged: true in an explicit safe output step (e.g. update-discussion as seen below) does not enforce it being staged only and will actually run in the safe outputs step.
safe-outputs:
  github-token: ${{ secrets.READ_DISCUSSIONS_TOKEN }}
  allowed-github-references: [mona/lisa]
  create-issue:
    github-token: ${{ secrets.WRITE_ISSUE_TOKEN }}
    title-prefix: "[MonaLisa]"
    close-older-issues: true
    expires: 7d
  update-discussion:
    staged: true
    target: "*"
    target-repo: mona/discussions
    max: 120
    labels:
    allowed-labels:
      - Label1
      - Label2

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 workingcommunitycookieIssue Monster Loves Cookies!

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions