Skip to content

Conversation

@aaron-steinfeld
Copy link
Contributor

Description

Merge build and test workflows into same workflow and scheduled them. They had been separated to allow secret access in forks, but that's not really necessary - changed it to omit steps in forks that require secrets.

@aaron-steinfeld aaron-steinfeld requested a review from a team as a code owner June 22, 2023 14:50
@codecov
Copy link

codecov bot commented Jun 22, 2023

Codecov Report

Merging #170 (0714329) into main (2ac91ac) will not change coverage.
The diff coverage is n/a.

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

@@            Coverage Diff            @@
##               main     #170   +/-   ##
=========================================
  Coverage     82.82%   82.82%           
  Complexity      281      281           
=========================================
  Files            33       33           
  Lines           949      949           
  Branches         73       73           
=========================================
  Hits            786      786           
  Misses          111      111           
  Partials         52       52           
Flag Coverage Δ
integration 82.82% <ø> (ø)
unit 69.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2023

Test Results

102 tests  ±0   102 ✔️ ±0   15s ⏱️ -1s
  24 suites ±0       0 💤 ±0 
  24 files   ±0       0 ±0 

Results for commit 635fd49. ± Comparison against base commit 2ac91ac.

♻️ This comment has been updated with latest results.

@aaron-steinfeld aaron-steinfeld requested a review from a team as a code owner June 22, 2023 14:57
tim-mwangi
tim-mwangi previously approved these changes Jun 22, 2023
with:
args: assemble dockerBuildImages

- name: Run Trivy vulnerability scanner
Copy link
Contributor

Choose a reason for hiding this comment

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

should we add if condition here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm let me go check inside the action - from the outside it appears safe to run on a fork

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So the upload would presumably fail - perhaps change output mode for forks to log?

Copy link
Contributor

Choose a reason for hiding this comment

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

Raising PR for updating github action.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had changed the local one here to

output-mode: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && 'github' || 'log' }}

but if we can put that defaulting into the action it'd be cleaner.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

backed my local change out in favor of the shared action change

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reran to validate the change in the non-pr form, so no regression at least.

@aaron-steinfeld aaron-steinfeld merged commit 72f885c into main Jun 23, 2023
@aaron-steinfeld aaron-steinfeld deleted the weekly branch June 23, 2023 15:52
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.

4 participants