mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Validate change-notes in PRs
This commit also introduces the 'empty' home directory for future change-notes.
This commit is contained in:
4
.github/workflows/pr-checks.yml
vendored
4
.github/workflows/pr-checks.yml
vendored
@@ -114,6 +114,10 @@ jobs:
|
|||||||
working-directory: pr-checks
|
working-directory: pr-checks
|
||||||
run: npx tsx --test
|
run: npx tsx --test
|
||||||
|
|
||||||
|
- name: Run `pr-checks/changenotes.mts` to ensure that all unreleased change notes are valid
|
||||||
|
if: ${{ !cancelled() && steps.install-deps.outcome == 'success' }}
|
||||||
|
run: npx tsx pr-checks/changenotes.mts validate
|
||||||
|
|
||||||
- name: Verify all Actions use the same Node version
|
- name: Verify all Actions use the same Node version
|
||||||
id: head-version
|
id: head-version
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ export const PACKAGE_JSON = path.join(REPO_ROOT, "package.json");
|
|||||||
/** The path of the changelog. */
|
/** The path of the changelog. */
|
||||||
export const CHANGELOG_FILE = path.join(REPO_ROOT, "CHANGELOG.md");
|
export const CHANGELOG_FILE = path.join(REPO_ROOT, "CHANGELOG.md");
|
||||||
|
|
||||||
|
/** The path to the unreleased change-notes directory. */
|
||||||
|
export const CHANGENOTES_DIR = path.join(REPO_ROOT, "unreleased-change-notes");
|
||||||
|
|
||||||
/** The path to the esbuild metadata file. */
|
/** The path to the esbuild metadata file. */
|
||||||
export const BUNDLE_METADATA_FILE = path.join(REPO_ROOT, "meta.json");
|
export const BUNDLE_METADATA_FILE = path.join(REPO_ROOT, "meta.json");
|
||||||
|
|
||||||
|
|||||||
0
unreleased-change-notes/.gitkeep
Normal file
0
unreleased-change-notes/.gitkeep
Normal file
Reference in New Issue
Block a user