Repository navigation
ci: one run per push or pull request - #16
Merged
Merged
Conversation
Each push and pull request started two workflows, Backend tests and Build Package (or Package check), so the Actions list showed every event twice, and a merge to main repeated as two more runs what its pull request had just run. backend-tests.yml now runs only when called (or by hand). build-package.yml calls it as a job beside the package, so a push is one "Build Package" run and a pull request one "Package check" run, each with the code's checks and the package in parallel. A Build Package run, the one the BigLinux builders act on, now succeeds only when the code's checks pass too.
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.
Every push and pull request started two workflows, Backend tests and Build Package / Package check, so the Actions list showed each event twice. A merge to
mainthen repeated, as two more runs, what its pull request had just run.Change
backend-tests.ymlruns only throughworkflow_call(or by hand).build-package.ymlcalls it as therustjob besidepackage: a push tomain,testing-*orstable-*is one Build Package run with both jobs in parallel.package-check.ymlcallsbuild-package.yml: a pull request is one Package check run with the same two jobs.docs/ci-workflows-audit.mddescribe it.actionlintpasses on the three workflows. This pull request shows the result: a single Package check run in the list.