GeezerVison is showing github.com — PR Checks: Use `tools: linked` rather than `tools: latest` by angelapwen · Pull Request #2320 · github/codeql-action
Conversation
angelapwen
commented
May 31, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
As of #2281, we introduced linked as a more descriptive value for the tools input. This PR updates our own PR checks and workflows with the new value and changes the input/output in the prepare-test Action to use linked.
All of the required PR checks that had latest in their names, for main have been updated. As we release v3 and v2 we'll want to do the same for those branches.
Merge / deployment checklist
- Confirm this change is backwards compatible with existing workflows.
- Confirm the readme has been updated if necessary.
- Confirm the changelog has been updated if necessary.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Also changes the input and output in the `prepare-test` Action to use `linked`.
|
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.
|
angelapwen reacted with laugh emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
I think this is happening because we renamed tools: latest to tools: linked. Once we've merged this PR we can go through to the tool status page and delete the analysis for tools: latest to avoid a stale tip.
|
angelapwen reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks comprehensive to me, thank you for your effort cleaning this up.
I have a couple of questions (minor, so not to hold up this PR from getting merged):
- Is there any way for us to know if we have forgotten any places where this should be sustituted, save for doing a whole source-root
grep?
- If we have forgotten anything, my understanding is that the impact is going to be low, given the intentional backwards compatibility in the change. Is this still deemed accurate, or am I missing something that requires greater precision in the change?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks for the review!!
- Is there any way for us to know if we have forgotten any places where this should be sustituted, save for doing a whole source-root
grep?
I also just greped it 🤔 I don't know that there's a better way, but (as you mentioned) the impact is low so I think it's fine if we end up with some extra latest workflows.
- If we have forgotten anything, my understanding is that the impact is going to be low, given the intentional backwards compatibility in the change. Is this still deemed accurate, or am I missing something that requires greater precision in the change?
That's still accurate! I just saw the warnings when I was checking the logs of some PR checks and thought it would be best to switch over. The linked naming really clarifies the intent, I think!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 4, 2024
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|