Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c94b999
Update default bundle to codeql-bundle-v2.13.4
github-actions[bot] Jun 9, 2023
3437c49
Add changelog note
github-actions[bot] Jun 9, 2023
64d6bfc
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 13, 2023
e476d8b
Update changelog and version after v2.20.0
github-actions[bot] Jun 13, 2023
6bd6480
Update checked-in dependencies
github-actions[bot] Jun 13, 2023
5fa98fa
Merge pull request #1731 from github/mergeback/v2.20.0-to-main-6c089f53
angelapwen Jun 13, 2023
b8f204c
Bump @octokit/plugin-retry from 4.0.4 to 5.0.2 (#1726)
dependabot[bot] Jun 13, 2023
dce63d8
Add initial stub for `resolve-environment` action
mbg May 18, 2023
4322324
Add `resolveBuildEnvironment` to `CodeQL` type
mbg May 18, 2023
360d2b7
Update OS representation
mbg May 23, 2023
cc95e67
Add `resolve-environment` to `ActionName`
mbg May 26, 2023
4356c16
Add `runResolveBuildEnvironment`
mbg May 26, 2023
ee80b30
Add initial workflow code dependent on `init`
mbg May 26, 2023
0930314
Add token and matrix inputs
mbg May 26, 2023
4518431
Fix: rename output
mbg May 26, 2023
527ea94
Add `working-directory` input
mbg May 26, 2023
59a9e3a
Fix formatting for `runResolveBuildEnvironment`
mbg May 26, 2023
8216c3a
Install CodeQL as part of the action
mbg May 26, 2023
aef016d
Apply suggestions from code review
mbg May 30, 2023
ddb13a1
Rename `actionName` to `ACTION_NAME`
mbg Jun 2, 2023
fce65da
Remove `BuildEnvironmentOS`
mbg Jun 2, 2023
6f07b50
Propagate `--working-dir` argument
mbg Jun 2, 2023
e08f131
Include CLI output in JSON error
mbg Jun 6, 2023
829bba8
Do not download CLI
mbg Jun 12, 2023
64fa96a
Report success
mbg Jun 13, 2023
0b8c812
Add integration test for `resolve-environment`
mbg Jun 13, 2023
ef4bf4a
Use `nightly-latest` for test for now
mbg Jun 13, 2023
8e75e1a
Apply suggestions from code review
mbg Jun 13, 2023
16f3f1a
Remove `validateWorkflow` call
mbg Jun 13, 2023
6419f99
Handle case where `workingDir` is `undefined`
mbg Jun 13, 2023
efe0e21
Update action description
mbg Jun 13, 2023
1c73235
Update `working-directory` description
mbg Jun 13, 2023
ba64fee
Add CHANGELOG entry
mbg Jun 2, 2023
c878505
Improve changelog wording
mbg Jun 13, 2023
f239f49
Rebuild integration test workflow
mbg Jun 13, 2023
4d7934a
Tolerate unexpected processing statuses for red SARIF uploads
henrymercer Jun 14, 2023
899b5a2
Continue after CLI errors
mbg Jun 14, 2023
b843f95
Update supported GitHub Enterprise Server versions
github-actions[bot] Jun 15, 2023
7a9f099
Don't invoke CLI when command not supported
mbg Jun 15, 2023
eb9703e
Reformat
mbg Jun 15, 2023
7e5bafc
Use `stable-v2.13.4` for integration test
mbg Jun 15, 2023
ee2b24e
Merge pull request #1733 from github/update-supported-enterprise-serv…
henrymercer Jun 15, 2023
d4006d9
Improve step name in integration test
mbg Jun 15, 2023
0ac1815
Merge pull request #1684 from github/mbg/add-resolve-environment
mbg Jun 15, 2023
d6201b5
Improve logging messages
henrymercer Jun 16, 2023
de74ca6
Merge pull request #1732 from github/henrymercer/tolerate-unexpected-…
henrymercer Jun 19, 2023
3e0c87d
Merge branch 'main' into update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 19, 2023
c6dff34
Merge pull request #1721 from github/update-bundle/codeql-bundle-v2.13.4
henrymercer Jun 19, 2023
82dbde1
Fix setup-swift composite action for versions 5.8, 5.8.1 (#1735)
angelapwen Jun 20, 2023
8ba77ef
Bump @octokit/types from 9.0.0 to 10.0.0 (#1734)
dependabot[bot] Jun 20, 2023
4385ad5
Send `job_run_uuid` to status report telemetry (#1685)
angelapwen Jun 21, 2023
2874247
Update changelog for v2.20.1
github-actions[bot] Jun 21, 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
Add initial stub for resolve-environment action
  • Loading branch information
mbg committed Jun 13, 2023
commit dce63d8676bd6909240256911b48c68d179349fa
41 changes: 41 additions & 0 deletions lib/resolve-environment-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/resolve-environment-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions resolve-environment/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: 'CodeQL: Resolve Build Environment'
description: 'Attempt to infer a suitable environment configuration for the autobuilder'
author: 'GitHub'
runs:
using: 'node16'
main: '../lib/resolve-environment-action.js'
20 changes: 20 additions & 0 deletions src/resolve-environment-action.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import * as core from "@actions/core";

import { checkForTimeout, wrapError } from "./util";

async function run() {
return;
}

async function runWrapper() {
try {
await run();
} catch (error) {
core.setFailed(
`resolve environment action failed: ${wrapError(error).message}`
);
}
await checkForTimeout();
}

void runWrapper();