feat: add automatic major version tag management #14
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.
feat: implement complete automated release workflow
Summary
This PR implements a two-workflow automated release management system using the release-drafter pattern, following PyAirbyte's proven approach but simplified for this action repository. The implementation replaces the original single workflow approach with a more robust system:
Workflow 1: Release Drafter - Automatically creates and updates release drafts when PRs are merged to main
Workflow 2: Major Tag Management - Automatically updates major version tags (v1, v2, etc.) when releases are published
Key Changes:
.github/release-drafter.yml
configuration with semantic versioning support and automatic change categorization.github/workflows/release-drafter.yml
that triggers on main branch pushes to update release drafts.github/workflows/update-major-tags.yml
to trigger onrelease.published
events instead of direct tag pushesReview & Testing Checklist for Human
release-drafter/release-drafter@v6
andnowactions/update-majorver@v1
are from reputable sources and haven't been compromisedrelease.published
event properly triggers the major tag workflow and doesn't trigger on drafts or pre-releasescontents: write
andpull-requests: read
are the minimum required permissions for both workflowsRecommended Test Plan:
Diagram
Notes
fetch-depth: 0
in the major tag workflow ensures access to full git history for proper tag managementorigin/v1
branch