-
Notifications
You must be signed in to change notification settings - Fork 7
chore: refactor re-usable workflows to enable re-use in derived repositories #968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rjaegers
merged 53 commits into
main
from
ci/refactor-reusable-workflows-for-better-re-use
Oct 16, 2025
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
9894163
ci: refactor wc-build-push for better re-use
rjaegers 1e86543
Merge branch 'main' into ci/refactor-reusable-workflows-for-better-re…
rjaegers b5a80b6
chore: make runner labels configurable
rjaegers 69de73f
Merge branch 'ci/refactor-reusable-workflows-for-better-re-use' of ht…
rjaegers 316371d
chore: decouple flavor from wc-build-push-test
rjaegers 090dc78
chore: fix issues with image name
rjaegers 0527700
chore: fix duplicate env
rjaegers 5eddcc2
chore: fix more duplicate env's
rjaegers c651326
chore: fix findings
rjaegers 00e94b1
chore: start with fixing integration tests
rjaegers fdab30a
chore: split-off image name sanitization
rjaegers 97e0792
chore: fix path to integration tests
rjaegers 66593ba
chore: enable docker credentials for integration test
rjaegers be55306
ci: change secret names
rjaegers b6012d6
ci: enable multiple labels for single runner selection
rjaegers 9826dc7
ci: try to fix syntax for fromJson
rjaegers 7e8d786
ci: try to fix runner selection
rjaegers 2f98b13
ci: handle devcontainer metadata properly
rjaegers 8763b1e
ci: don't escape '='
rjaegers c27b4e9
ci: fix linter feedback
rjaegers 8daad34
ci: fix more runs-on
rjaegers 37b3db0
chore: retry merge-image in bash
rjaegers ea92892
ci: various fixes and improvements
rjaegers 706a1bb
ci: fix document upload for release
rjaegers 4252f83
Merge branch 'main' into ci/refactor-reusable-workflows-for-better-re…
rjaegers b319c05
ci: integrate changes from main
rjaegers b6a1ffe
ci: more refactoring
rjaegers 7bd23e7
ci: fix cancellation and metadata label
rjaegers 9db4d23
ci: fix cancellation
rjaegers fa94ecc
ci: refactor to multiple re-usable layers
rjaegers 6137048
ci: fix internal scenario
rjaegers b8cab65
ci: fix permissions
rjaegers 9288a03
ci: fix issues with secrets and refactor further
rjaegers 6c39b6c
ci: fix permissions
rjaegers c84a3f1
ci: suppress invalid linter finding
rjaegers 275b8af
ci: make acceptance test secrest optional
rjaegers 09677d0
chore: refactor copilot instructions
rjaegers 0e40b83
ci: block network access when not required
rjaegers 5351af7
ci: add acceptance tests and reduce duplication
rjaegers 7db655e
ci: fix release build
rjaegers 96efdac
ci: add requirement and change some naming
rjaegers 343f511
ci: refactor naming
rjaegers 921e1df
ci: fix zizmore findings
rjaegers e827c6e
ci: more name refactoring
rjaegers 8639486
ci: less emoji is sometimes better
rjaegers b02bb58
ci: more name juggling
rjaegers f4c7346
ci: silence step-security warning
rjaegers 827e859
ci: get rid of defaults
rjaegers 27dc924
ci: disable errors for lychee
rjaegers d79c316
ci: remove xwin cache
rjaegers 9bd6daf
ci: don't use bash-isms to convert to lowercase
rjaegers 69f65d0
ci: make sure we do interpolation
rjaegers e192a30
ci: heredoc syntax "<<<" also seems to be a bash-ism
rjaegers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| applyTo: ".github/workflows/*.yml" | ||
| --- | ||
|
|
||
| # GitHub Workflows Guidelines | ||
|
|
||
| When writing GitHub Action workflows, ensure that: | ||
|
|
||
| - Workflows that have a workflow_call trigger have their filename prefixed with `wc-`. | ||
| - For all re-usable workflows, only the top-level workflow (workflows that are not called themselves by other workflows with workflow_call) has defaults and descriptions for inputs to avoid duplication. | ||
| - All workflows and action definitions have a name that is descriptive and concise, using emoji where appropriate. | ||
| - The sorting order for inputs, secrets, and outputs is alphabetical. | ||
| - The sorting order of other keys is consistent across the repository. |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ permissions: | |
|
|
||
| jobs: | ||
| linter: | ||
| name: 🧹 Lint & Format | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
|
|
||
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ permissions: {} | |
|
|
||
| jobs: | ||
| add-pr-report: | ||
| name: 📊 Add PR Report | ||
| permissions: | ||
| contents: read | ||
| checks: read | ||
|
|
||
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.