Skip to content

Add release bot workflow#4835

Open
bryanbeverly wants to merge 1 commit intomainfrom
add-release-bot-workflow
Open

Add release bot workflow#4835
bryanbeverly wants to merge 1 commit intomainfrom
add-release-bot-workflow

Conversation

@bryanbeverly
Copy link
Contributor

@bryanbeverly bryanbeverly commented Mar 25, 2026

Summary

  • Adds a new release-bot.yml workflow that triggers on release: published events
  • Runs the truffle-release-bot container to generate release notes using GitHub and AI services

Test plan

  • Add GCP_SA_TRUFFLE_RELEASE_BOT as a repo-level secret on trufflesecurity/trufflehog
  • Verify the workflow appears in the Actions tab
  • Confirm it triggers correctly on the next release publish event

Made with Cursor


Note

Medium Risk
Adds a new release-triggered workflow that uses a privileged GCP service-account secret and runs an external container, so misconfiguration could leak credentials or affect release automation.

Overview
Adds a new GitHub Actions workflow, release-bot.yml, that runs on release.published for trufflesecurity/trufflehog only.

The job authenticates to GCP using the GCP_SA_TRUFFLE_RELEASE_BOT secret, logs into Google Artifact Registry, then runs the truffle-release-bot container with the release tag to generate/update release notes. Default GITHUB_TOKEN permissions are explicitly locked down via permissions: {}.

Written by Cursor Bugbot for commit 66ed1eb. This will update automatically on new commits. Configure here.

Triggers on release publish events to run the release bot, which
generates release notes using GitHub, Jira, and AI services.

Adapted from the thog repo workflow with trufflehog-specific adjustments:
repository argument set to trufflehog, environment requirement removed
in favor of a repo-level secret, permissions restricted, and a fork
guard added for consistency with other trufflehog workflows.

Made-with: Cursor
@bryanbeverly bryanbeverly requested a review from a team March 25, 2026 05:29
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.

1 participant