perf(ci): only publish artifacts on git version tags of main #2360
Labels
dependencies
Pull requests that update a dependency file
Developer_Experience
good-first-issue
Good for newcomers
good-first-issue-400-expert
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
P2
Priority 2: High
Performance
Everything related to how fast/efficient the software or it's tooling (e.g. build) is.
SPIKE
Exploratory work to better scope additional effort
Description
As a maintainer and/or contributor I want to have fast CI cycles so that I'm more productive and the community as a whole is growing faster because the contributions can be accepted at a rapid pace instead of the CI bogging everybody down.
Right now we have a lot of publishing tasks that take up resources (mostly) needlessly because they auto-publish artifacts such as container images and JVM API clients on every merged commit.
This has the negative effect of slowing the CI down overall and also the other negative effect that we are risking hitting limitations on the free tiers that we are using (limits where the number of versions must stay below a certain number for npm packages or container images for example).
One example of this auto-publishing is the kotlin [1] packages and all the other
**-publish.yaml
files that we have for the container images.[1]
.github/workflows/ghpkg-all-kotlin-api-clients-publish.yaml
Acceptance Criteria
main
The text was updated successfully, but these errors were encountered: