diff --git a/.github/workflows/vendor.yml b/.github/workflows/vendor.yml index 21d2658..1e8aecd 100644 --- a/.github/workflows/vendor.yml +++ b/.github/workflows/vendor.yml @@ -33,7 +33,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - $env:GITHUB_TOKEN = "${{ secrets.GITHUB_TOKEN }}" $currentVersion = (Get-Content .\vendor\sources.json | ConvertFrom-Json) . .\scripts\update.ps1 -verbose Set-GHVariable -Name COUNT_UPDATED -Value $count diff --git a/scripts/update.ps1 b/scripts/update.ps1 index b69edd9..768744a 100644 --- a/scripts/update.ps1 +++ b/scripts/update.ps1 @@ -108,8 +108,6 @@ function Fetch-DownloadUrl { $headers["Authorization"] = "token $($env:GITHUB_TOKEN)" } - Write-Host $headers - # Api server for GitHub $urlHost = "api.github.com"