Skip to content

Commit

Permalink
Revert "Update to ESM6"
Browse files Browse the repository at this point in the history
This reverts commit 01938d3.
  • Loading branch information
lindluni committed Mar 28, 2024
1 parent 01938d3 commit 5460025
Show file tree
Hide file tree
Showing 242 changed files with 125,257 additions and 69,676 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/dist
8 changes: 8 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
env:
es2021: true
node: true
extends: eslint:recommended
overrides: []
parserOptions:
ecmaVersion: latest
rules: {}
5 changes: 0 additions & 5 deletions .github/workflows/codeql-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ 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: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ 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@v3-node20
uses: actions/upload-artifact@v4
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@v3-node20
uses: actions/upload-artifact@v4
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 @@
import core from '@actions/core'
const core = require('@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
*/
export const parseInput = () => {
exports.parseInput = () => {
try {
const admin_token = core.getInput('admin_token', {
required: true, trimWhitespace: true
Expand Down
Loading

0 comments on commit 5460025

Please sign in to comment.