feat: add reusable workflows for consumption across repos#1
Merged
Conversation
|
I'll try to find a repo to leverage these @Lstedmanfalls - thank you for revisiting this for the community. You're an inspiration. 🚀 Hope folks can chime in. |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What is the Feature / Change Being Made?
The template-repo in this org housed Github Actions workflows that were duplicated across each repo. Instead of repeating the common workflows, including semver release, pr title validation, etc, this new repo houses centralized reusable workflows that can be called by other repos instead.
What is the Rationale in Relation to Best Practices?
This keeps code DRYer, allowing updates to common workflows in this centralized place instead of having to update each repo's workflow individually, can just update the version if / when needed.
How Has This Been Tested?
Tested each workflow, except semver-release, in this PR in the template-repo by pointing to this feature branch. For workflows typically run as cron jobs, I temporarily switched the trigger to on PR. Verified that all workflows are behaving as expected.
How Can the Community Use This?
Usage instructions are outlined in the README.
Links to Related Issues or Discussions
mindbuttergold/aws-multi-account#1 (comment) @BA-CalderonMorales brought up discussion on a previous PR in an org repo about reusability of workflows.
Contribution Reminders
Your PR needs:
Refer the CONTRIBUTING guidelines and CODE_OF_CONDUCT for more information.