Skip to content

Commit

Permalink
Update to ESM6
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <lindluni@github.com>
  • Loading branch information
lindluni committed Mar 28, 2024
1 parent f143a02 commit 01938d3
Show file tree
Hide file tree
Showing 242 changed files with 80,621 additions and 136,202 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintrc.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/codeql-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
- .github/codeql-config.yml
- ''
steps:
- name: Install Go
if: matrix.language == 'go'
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Code Scanning
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ test.sh
**/.envrc
*.csv
*.pem
*.key
4 changes: 2 additions & 2 deletions codeql-analysis/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ runs:

- name: Upload Artifact
if: runner.os != 'Windows'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3-node20
with:
name: codeql-scan-results-${{ inputs.language }}
path: ${{ runner.temp }}/codeql-scan-results-${{ inputs.language }}.csv

- name: Upload Artifact
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3-node20
with:
name: codeql-scan-results-${{ inputs.language }}
path: ${{ runner.temp }}\codeql-scan-results-${{ inputs.language }}.csv
Expand Down
4 changes: 2 additions & 2 deletions configure-codeql/config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const core = require('@actions/core')
import core from '@actions/core'

/**
* Parse the input from the workflow file
* @returns {{configure_codeql_privateKey: string, verify_scans_id: number, org: string, configure_codeql_installationID: number, verify_scans_privateKey: string, repo: string, configure_codeql_id: number, verify_scans_installationID: number, admin_token: string, pull_request_body: string}}
*
* @throws {Error} - Throws an error if the input is invalid
*/
exports.parseInput = () => {
export const parseInput = () => {
try {
const admin_token = core.getInput('admin_token', {
required: true, trimWhitespace: true
Expand Down
Loading

0 comments on commit 01938d3

Please sign in to comment.