Skip to content

Commit 108d1a2

Browse files
📝[Fix]: Update environment variable handling for super-linter and use GitHub token directly
1 parent 0ab1adb commit 108d1a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎.github/workflows/workflow.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@ jobs:
114114
SETTINGS: ${{ needs.Get-Settings.outputs.Settings }}
115115
run: |
116116
Write-Host "Loading settings for super-linter:"
117-
$env:SETTINGS
118117
$settings = $env:SETTINGS | ConvertFrom-Json -AsHashtable
119118
$linter = $settings.Linter
120119
$env = $linter.env
121-
$env
122120
123121
foreach ($key in $env.Keys) {
124122
$value = $env[$key]
@@ -136,7 +134,7 @@ jobs:
136134
- name: Lint code base
137135
uses: super-linter/super-linter@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
138136
env:
139-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
137+
GITHUB_TOKEN: ${{ github.token }}
140138

141139
# Runs on:
142140
# - âś… Open/Updated PR - Builds module for testing

0 commit comments

Comments
 (0)