Skip to content

fix(zizmor): pass payload-templated: false to send-slack-message#1976

Merged
guicaulada merged 1 commit into
grafana:mainfrom
svennergr:fix/slack-payload-templated
May 28, 2026
Merged

fix(zizmor): pass payload-templated: false to send-slack-message#1976
guicaulada merged 1 commit into
grafana:mainfrom
svennergr:fix/slack-payload-templated

Conversation

@svennergr
Copy link
Copy Markdown
Contributor

Summary

  • The send-slack-message action passes payload-templated through to slackapi/slack-github-action, which expects a YAML boolean. Omitting it sends an empty string, causing the action to fail with: Input does not meet YAML 1.2 "Core Schema" specification: payload-templated.
  • Explicitly set payload-templated: false in the delete-vulnerable-branch job's Slack notification step.

Fixes the failure seen in https://github.com/grafana/sigil/actions/runs/26596504712.

Test plan

  • Verify the delete-vulnerable-branch job's Slack step no longer fails with the YAML boolean error.

The underlying slackapi/slack-github-action expects a YAML boolean for
payload-templated. Omitting it passes an empty string, which fails
validation. Explicitly set it to false.
@svennergr svennergr requested a review from a team as a code owner May 28, 2026 19:19
@guicaulada guicaulada added this pull request to the merge queue May 28, 2026
Merged via the queue into grafana:main with commit acf6456 May 28, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants