10000 Merge main into releases/v2 by github-actions[bot] · Pull Request #2020 · github/codeql-action · GitHub
[go: up one dir, main page]

Skip to content

Merge main into releases/v2 #2020

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

Merged
merged 25 commits into from
Dec 7, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8a1e474
Update changelog and version after v2.22.8
github-actions[bot] Nov 23, 2023
3b5bd49
Update checked-in dependencies
github-actions[bot] Nov 23, 2023
2da9ad5
Merge pull request #2008 from github/mergeback/v2.22.8-to-main-407ffafa
aibaars Nov 23, 2023
4712487
Bump the npm group with 5 updates (#2010)
dependabot[bot] Nov 27, 2023
773bd9b
Exclude Dependabot updates workflow from required PR checks
henrymercer Nov 27, 2023
77605c7
Remove LGTM
henrymercer Nov 27, 2023
db40ac4
Merge pull request #2011 from github/henrymercer/exclude-dependabot-r…
henrymercer Nov 28, 2023
1d367b0
Improve error categorizations
henrymercer Dec 1, 2023
b929cca
Merge pull request #2012 from github/henrymercer/categorize-configura…
henrymercer Dec 1, 2023
cc940d7
Extract scanned languages using `--index-traceless-dbs`
henrymercer Dec 1, 2023
a16ac98
Merge pull request #2013 from github/henrymercer/index-traceless-dbs
henrymercer Dec 4, 2023
b7f289e
update release process to support multiple version
nickfyson Dec 4, 2023
bc50092
Bump the npm group with 4 updates (#2015)
dependabot[bot] Dec 4, 2023
2dbffae
add note in CONTRIBUTING.md on how to deprecate an action version
nickfyson Dec 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
define backport commit message in constant
  • Loading branch information
nickfyson committed Dec 6, 2023
commit a6ea3c5a45b53ef29985956a67d19aa9db1fc2ef
7 changes: 5 additions & 2 deletions .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

"""

# NB: This exact commit message is used to find commits for reverting during backports.
# Changing it requires a transition period where both old and new versions are supported.
BACKPORT_COMMIT_MESSAGE = 'Update version and changelog for v'

# Name of the remote
ORIGIN = 'origin'
Expand Down Expand Up @@ -287,7 +290,7 @@ def main():
# This commit will not exist the first time we release the v{N-1} branch from the v{N} branch, so we
# use `git log --grep` to conditionally revert the commit.
print('Reverting the version number and changelog updates from the last release to avoid conflicts')
vOlder_update_commits = run_git('log', '--grep', '^Update version and changelog for v', '--format=%H').split()
vOlder_update_commits = run_git('log', '--grep', f'^{BACKPORT_COMMIT_MESSAGE}', '--format=%H').split()

if len(vOlder_update_commits) > 0:
print(f' Reverting {vOlder_update_commits[0]}')
Expand Down Expand Up @@ -329,7 +332,7 @@ def main():

# Amend the commit generated by `npm version` to update the CHANGELOG
run_git('add', 'CHANGELOG.md')
run_git('commit', '-m', f'Update version and changelog for v{version}')
run_git('commit', '-m', f'{BACKPORT_COMMIT_MESSAGE}{version}')
else:
# If we're performing a standard release, there won't be any new commits on the target branch,
# as these will have already been merged back into the source branch. Therefore we can just
Expand Down
0