Add reusable workflows structure, RW pre-commit, RW DangerJS, RW Sync Jira (3pack) #20
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.
Caution
Back in Draft - please hold off on your review.
Although this works, there might be a more elegant way by storing only "call-<reusable_workflow>" type actions here, and defining the reusable workflow in the repository of the action (e.g., https://github.com/espressif/sync-jira-actions).
This PR creates the structure for using GitHub reusable workflows that can be called from any repository within the Espressif GitHub organization.
Note
Their presence here does not mean they are automatically propagated or inherited across all Espressif organization GitHub repositories (as with issue and pull request templates).
These workflows need to be explicitly called.
See the
.github/workflows/workflows-instructions.md
(part of this PR) for more details.Reasoning / Why This
Managing these workflows from a central place like this repository (
espressif/.github
) offers several advantages:Reusable Workflows in This PR
.github/workflows/workflows-instructions.md
with example calls from target projectTested
Tested in my test GitHub organization:
.github
repo - where reusable workflows are defined