Specify releases of the CodeQL Action using tags instead of branches #1033
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.
We currently reference versions of the CodeQL Action (
v1
,v2
) using branches and not tags. This is nice because it is more consistent with the intention of tags in Git. However it is problematic in terms of Dependabot: users on thev1
orv2
branches won't get Dependabot update PRs, as these are only generated for users on a specific tag or commit SHA.This PR prepares us to specify releases of the CodeQL Action using tags instead of branches, which will mean our customers who have configured Dependabot for the Actions ecosystem configured will receive a Dependabot update from
v1
tov2
.Commit-by-commit review recommended. I'd particularly appreciate a check that I haven't forgot to update any places that use the release branches (i.e. previously
v1
andv2
, nowreleases/v1
andreleases/v2
).Deployment plan
v1
andv2
toreleases/v1
andreleases/v2
respectively. This PR will also automatically update thev1
andv2
tags as part of future release processes. (This is that PR.)releases/v1
andreleases/v2
v1
andv2
tags manuallyv1
andv2
branches toreleases/v1
andreleases/v2
respectivelyExample Dependabot update on a private repo backlinked for maintainers.
Merge / deployment checklist