Skip to content

Commit

Permalink
Update megalinter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wesley-dean-gsa authored Dec 16, 2024
1 parent 8b5302e commit 8458991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/megalinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ concurrency:
jobs:
build:
name: MegaLinter
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions: write-all
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN || github.token }}
fetch-depth: 0

- name: "Import GPG key"
Expand All @@ -51,7 +51,7 @@ jobs:
uses: oxsecurity/megalinter/flavors/javascript@d8c95fc6f2237031fb9e9322b0f97100168afa6e # [email protected]
env:
VALIDATE_ALL_CODEBASE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN || github.token }}

# Upload MegaLinter artifacts
- name: Archive production artifacts
Expand Down

0 comments on commit 8458991

Please sign in to comment.