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

FE-128 dedup GitHub actions #324

Merged
merged 20 commits into from
Jan 19, 2024
Merged

FE-128 dedup GitHub actions #324

merged 20 commits into from
Jan 19, 2024

Conversation

bahill
Copy link
Contributor

@bahill bahill commented Jan 18, 2024

Why

Relevant ticket FE-128

This PR

Added better Git Action logic to the main & dev build actions to allow them to co-exist in the workflows dir.

PR is needed to see if I've fixed the second issue of PRs not showing up in the conversation on PRs. - fixed had to fix some syntax & add the jobs to the branch protection rules.
https://stackoverflow.com/questions/69177488/how-to-set-github-actions-as-required-status-checks
80% fixed - the check status is not syncing with the latest versions of the jobs from updates to this PR. I will dig into that later - it's not critical.

Checklist

  • Documentation has been updated as needed.

@bahill bahill changed the title Fe 128 dedup GitHub actions FE-128 dedup GitHub actions Jan 18, 2024
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c5626c4) 95.56% compared to head (d0a9a35) 95.56%.

❗ Current head d0a9a35 differs from pull request most recent head e646764. Consider uploading reports for the commit e646764 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #324   +/-   ##
=======================================
  Coverage   95.56%   95.56%           
=======================================
  Files           4        4           
  Lines         158      158           
  Branches        5        5           
=======================================
  Hits          151      151           
  Misses          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bahill bahill marked this pull request as ready for review January 18, 2024 19:51
@bahill
Copy link
Contributor Author

bahill commented Jan 18, 2024

OK I still don't know why the checks don't line up with the actions - but for now:
https://github.com/DataBiosphere/hca-ingest/actions

Copy link

@ahaessly ahaessly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few questions

- main
pull_request_target:
types:
- closed

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically this runs on any PR that is merged - so even a feature branch off of dev being merged to dev. Is this what is intended? If so, change the name of the workflow and file to remove "main". If you want it to run only for main then maybe merge with the validate pull request workflow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added main

@@ -5,6 +5,7 @@ on:
- main
jobs:
pr-validation:
name: PR Validation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change the name of this workflow (and file) to indicate this only happens for main.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

@ahaessly ahaessly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bahill bahill merged commit db0bccf into main Jan 19, 2024
1 check passed
@bahill bahill deleted the FE-128-dedup-github-actions branch January 19, 2024 20:47
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.

3 participants