feat: Track Pending Releases #218
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds automatic tracking of commits pending production deployment via a persistent GitHub issue with color-coded status indicators. Provides an at-a-glance view of what changes are ready to deploy.
Why? Relevant for repositories where we do manual production releases.
Example Tracker: https://github.com/monta-app/service-vehicle/issues/299
Example Usage: https://github.com/monta-app/service-vehicle/blob/main/.github/workflows/track-pending-release.yml
What It Does
Creates and maintains a single GitHub issue that automatically updates to show:
Status Indicators
The issue title updates automatically based on pending commits:
This provides instant visibility in the issue list - you can see deployment status at a glance.
Example Issue States
When Up-to-Date (🟢)
When Commits Are Pending (🔴)
How It Works
Triggers
The workflow runs on:
Note: The
workflow_runtrigger is required becauseenable-release-tagcreates tags usingGITHUB_TOKEN, which doesn't trigger other workflows (GitHub Actions limitation). This ensures the issue updates immediately after production deployments.Benefits
Technical Details
pending-releaselabel (🟠 orange)compareendpointenable-release-tag: true)GITHUB_TOKEN(automatically provided)Integration
Works seamlessly with existing deployment workflows:
enable-release-tag: true- Creates tags this workflow tracksenable-changelog: true- Generates release notes after deploySetup
After merging, the workflow will:
pending-releaselabel (if doesn't exist)Recommended: Pin the issue to your repository for easy team access.
Testing
pending-releaselabeled issue