Skip to content

Commit 56ebdff

Browse files
committed
Merge branch 'main' into mbg/pr-checks/validation-jobs
2 parents 2b60771 + b1b5550 commit 56ebdff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5503
-4621
lines changed

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ jobs:
4242
node-version: ${{ matrix.node-version }}
4343
cache: 'npm'
4444

45-
- name: Set up Python
46-
uses: actions/setup-python@v6
47-
with:
48-
python-version: 3.11
49-
5045
- name: Install dependencies
5146
run: |
5247
# Use the system Bash shell to ensure we can run commands like `npm ci`
@@ -68,7 +63,7 @@ jobs:
6863
- name: Run pr-checks tests
6964
if: always()
7065
working-directory: pr-checks
71-
run: python -m unittest discover
66+
run: npm ci && npx tsx --test
7267

7368
- name: Lint
7469
if: always() && matrix.os != 'windows-latest'

.github/workflows/rebuild.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,13 @@ jobs:
7373
npm run lint -- --fix
7474
npm run build
7575
76-
- name: Set up Python
77-
uses: actions/setup-python@v6
78-
with:
79-
python-version: 3.11
80-
8176
- name: Sync back version updates to generated workflows
8277
# Only sync back versions on Dependabot update PRs
8378
if: startsWith(env.HEAD_REF, 'dependabot/')
8479
working-directory: pr-checks
8580
run: |
86-
python3 sync_back.py -v
81+
npm ci
82+
npx tsx sync_back.ts --verbose
8783
8884
- name: Generate workflows
8985
working-directory: pr-checks

init/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ inputs:
159159
description: >-
160160
Explicitly enable or disable caching of project build dependencies.
161161
required: false
162+
check-run-id:
163+
description: >-
164+
[Internal] The ID of the check run, as provided by the Actions runtime environment. Do not set this value manually.
165+
default: ${{ job.check_run_id }}
166+
required: false
162167
outputs:
163168
codeql-path:
164169
description: The path of the CodeQL binary used for analysis

lib/analyze-action-post.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/autobuild-action.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action-post.js

Lines changed: 28 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/resolve-environment-action.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-codeql-action.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)