Skip to content

Conversation

@l50
Copy link
Contributor

@l50 l50 commented Dec 8, 2025

Key Changes:

  • Added step to automatically create GitHub Releases during publish workflow
  • Updated permissions to allow writing to repository contents
  • Enhanced release automation by generating release notes

Added:

  • Automatic GitHub Release creation - Appended a new step after PyPI publish to
    check for an existing release and create one with generated notes if absent
  • Environment variable configuration - Set GH_TOKEN for authentication with
    GitHub CLI during release creation

Changed:

  • Workflow permissions - Updated contents permission from read to write to
    support GitHub release creation in the workflow

Generated Summary:

  • Changed permission for contents in GitHub workflow from read to write.
  • Added a step to create a GitHub release if it does not already exist.
  • Utilized GitHub CLI to check for existing releases and generate release notes automatically if creating a new release.
  • These changes streamline the publishing process and enhance release management in the workflow.

This summary was generated with ❤️ by rigging

l50 added 2 commits December 8, 2025 23:37
…workflow

**Added:**

- Add step to create a GitHub release with autogenerated notes if release does
  not exist, using the `gh` CLI in the publish workflow

**Changed:**

- Update workflow permissions from `contents: read` to `contents: write` to
  allow release creation
@dreadnode-renovate-bot dreadnode-renovate-bot bot added the area/github Changes made to GitHub Actions label Dec 8, 2025
@l50 l50 enabled auto-merge December 8, 2025 23:38
@l50 l50 added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit f0aab19 Dec 8, 2025
8 checks passed
@l50 l50 deleted the jayson/eng-3692-automate-github-release-creation-in-publish-workflow branch December 8, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made to GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants