GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update `upload` input values and logic by angelapwen · Pull Request #1598 · github/codeql-action

Update upload input values and logic #1598

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.

Sign up for GitHub

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

Merged
angelapwen merged 20 commits into github:main from angelapwen:upload-input-values
Mar 23, 2023
+206 −89
Merged

Update upload input values and logic #1598

Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9894ad1
Update upload input description in `analyze`
angelapwen Mar 21, 2023
4052ce5
Update failed runs' upload SARIF logic
angelapwen Mar 21, 2023
a99d06f
Update green runs' upload SARIF logic
angelapwen Mar 21, 2023
452dc6e
Add test cases for `failure-only`, `never`, and unrecognized input
angelapwen Mar 21, 2023
cb6d164
Minor refactoring
angelapwen Mar 21, 2023
8075d10
Replace `false` with `never` in existing checks
angelapwen Mar 21, 2023
7676afe
Fall back to `always` for unrecognized input
angelapwen Mar 22, 2023
fb18766
Add CHANGELOG entry
angelapwen Mar 22, 2023
04e3995
Add unit tests for always, true, false cases
angelapwen Mar 22, 2023
3270250
Clarify CHANGELOG and Action input description
angelapwen Mar 22, 2023
7e7bc84
Specify upload skips rather than fails in test
angelapwen Mar 22, 2023
cde6edb
Refactor relevant into helper method
angelapwen Mar 22, 2023
2a441e3
Further documentation improvements
angelapwen Mar 22, 2023
690a1ab
Update input description to match existing ones
angelapwen Mar 22, 2023
13a94c3
Refactor utility function per PR review
angelapwen Mar 22, 2023
4469ee6
Refactor test cases into loop
angelapwen Mar 22, 2023
707a6bb
Make `getUploadValue` synchronous
angelapwen Mar 23, 2023
7929472
Update comment
angelapwen Mar 23, 2023
54e08db
Use switch statement
angelapwen Mar 23, 2023
532e9ec
Stop `await`ing non async function
angelapwen Mar 23, 2023
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Update input description to match existing ones
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@angelapwen
angelapwen committed Mar 23, 2023
commit 690a1abbb264a90f95fab034420696b0348b6f3a

There are no files selected for viewing

7 changes: 3 additions & 4 deletions 7 analyze/action.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ inputs:
upload:
description: >-
Upload the SARIF file to Code Scanning.
This defaults to 'always' which uploads the SARIF file to Code Scanning for successful and failed runs.
You can specify 'failure-only' to only upload debugging information to Code Scanning if the workflow run fails, for instance if you are post-processing the SARIF file before uploading it to Code Scanning.
Setting this input to 'never' avoids uploading the SARIF file to Code Scanning even if the code scanning run fails.
This is not recommended for external users since it complicates debugging.
Defaults to 'always' which uploads the SARIF file to Code Scanning for successful and failed runs.
'failure-only' only uploads debugging information to Code Scanning if the workflow run fails, for users post-processing the SARIF file before uploading it to Code Scanning.
'never' avoids uploading the SARIF file to Code Scanning, even if the code scanning run fails. This is not recommended for external users since it complicates debugging.
required: false
# If changing this, make sure to update workflow.ts accordingly.
default: "always"
Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.