Skip to content
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

chore(ci): unify CI workflows #172

Merged
merged 11 commits into from
Sep 15, 2023
Merged

chore(ci): unify CI workflows #172

merged 11 commits into from
Sep 15, 2023

Conversation

julio-lopez
Copy link
Contributor

@julio-lopez julio-lopez commented Sep 14, 2023

Move build and linting jobs to a single GH workflow file. It simplifies managing the settings for these jobs and keeping them consistent.

Sample unified run => https://github.com/kastenhq/kubestr/actions/runs/6191967078

Reduce permissions scope for ci workflow

Allow triggering when pushing to the 'main' branch
Run on pull requests on all branches
Build when pushing tags

Run Docker workflow on push to 'main' branch
Run Docker workflow on pull requests on all branches

Cleanups:

  • rename workflow
  • use consistent indentation for steps
  • capitalize job name

@julio-lopez julio-lopez enabled auto-merge (squash) September 14, 2023 23:55
@julio-lopez julio-lopez merged commit f7a24bd into master Sep 15, 2023
@julio-lopez julio-lopez deleted the ci/simplify branch September 15, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants