Skip to content

Split workflows by trigger to restrict when deploys occur#27

Draft
ronpandolfi wants to merge 1 commit into
mainfrom
workflow_split
Draft

Split workflows by trigger to restrict when deploys occur#27
ronpandolfi wants to merge 1 commit into
mainfrom
workflow_split

Conversation

@ronpandolfi

@ronpandolfi ronpandolfi commented May 1, 2023

Copy link
Copy Markdown
Collaborator

This PR address a problem with the current workflow structure: tags pushed to PRs trigger deployment before merge. This issue can be avoided by not tagging branches other than main.

This proposed PR is complex in structure, has significant code duplication, and needs extensive testing. I'm marking it as a draft and leaving it here for future work.

TODO:

  • Reduce code duplication via reusable workflows
  • Test pr workflow
  • Test main workflow w/wo tag
  • Test tags workflow w/wo main

@ronpandolfi
ronpandolfi marked this pull request as draft May 1, 2023 23:14
@codecov

codecov Bot commented May 1, 2023

Copy link
Copy Markdown

Codecov Report

Merging #27 (f95fd91) into main (8f5cc68) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   96.39%   96.39%           
=======================================
  Files           5        5           
  Lines         305      305           
=======================================
  Hits          294      294           
  Misses         11       11           

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant