Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
anaarmas committed Apr 27, 2020
1 parent 2703a24 commit ae26408
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: ./codeql/init
- uses: ./init
with:
config-file: ./.github/codeql/codeql-config.yml
- uses: ./codeql/finish
- uses: ./finish
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Identifying potential files for extraction:
- If it finds a subfolder that's defined as `paths-ignore`, stop traversing.
- If a file or folder is both in `paths` and `paths-ignore`, the `paths-ignore` is ignored.

Use the config-file parameter of the codeql/init action to enable the configuration file. For example:
Use the config-file parameter of the init action to enable the configuration file. For example:

```yaml
- uses: github/codeql-action/init@master
Expand Down
2 changes: 1 addition & 1 deletion lib/autobuild.js

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

2 changes: 1 addition & 1 deletion lib/finalize-db.js

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

4 changes: 2 additions & 2 deletions lib/setup-tracer.js

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

2 changes: 1 addition & 1 deletion lib/upload-sarif.js

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

2 changes: 1 addition & 1 deletion src/autobuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ async function run() {
}

run().catch(e => {
core.setFailed("codeql/autobuild action failed: " + e);
core.setFailed("autobuild action failed: " + e);
console.log(e);
});
2 changes: 1 addition & 1 deletion src/finalize-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ async function run() {
}

run().catch(e => {
core.setFailed("codeql/finish action failed: " + e);
core.setFailed("analyze action failed: " + e);
console.log(e);
});
4 changes: 2 additions & 2 deletions src/setup-tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async function run() {
const goFlags = process.env['GOFLAGS'];
if (goFlags) {
core.exportVariable('GOFLAGS', goFlags);
core.warning("Passing the GOFLAGS env parameter to the codeql/init action is deprecated. Please move this to the codeql/finish action.");
core.warning("Passing the GOFLAGS env parameter to the init action is deprecated. Please move this to the analyze action.");
}

// Setup CODEQL_RAM flag (todo improve this https://github.com/github/dsp-code-scanning/issues/935)
Expand Down Expand Up @@ -235,6 +235,6 @@ async function run() {
}

run().catch(e => {
core.setFailed("codeql/init action failed: " + e);
core.setFailed("init action failed: " + e);
console.log(e);
});
2 changes: 1 addition & 1 deletion src/upload-sarif.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ async function run() {
}

run().catch(e => {
core.setFailed("codeql/upload-sarif action failed: " + e);
core.setFailed("upload-sarif action failed: " + e);
console.log(e);
});

0 comments on commit ae26408

Please sign in to comment.