From 9a709c116e8f6baa201a897119fab1b6bf5a44e6 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 28 Mar 2022 16:25:40 +0100 Subject: [PATCH] Add changelog note --- .github/update-release-branch.py | 3 +++ CHANGELOG.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/update-release-branch.py b/.github/update-release-branch.py index 9e9a6af27a..c62a030933 100644 --- a/.github/update-release-branch.py +++ b/.github/update-release-branch.py @@ -285,6 +285,9 @@ def main(): print('Migrating changelog notes from v2 to v1') subprocess.run(['sed', '-i', 's/^## 2\./## 1./g', 'CHANGELOG.md']) + # Remove changelog notes from v2 that don't apply to v1 + subprocess.run(['sed', '-i', '/^- The CodeQL Action now runs on Node\.js v16\./d', 'CHANGELOG.md']) + # 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}') diff --git a/CHANGELOG.md b/CHANGELOG.md index d84059cf75..fa79c68228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -No user facing changes. +- The CodeQL Action now runs on Node.js v16. [#1000](https://github.com/github/codeql-action/pull/1000) ## 1.1.5 - 15 Mar 2022