From ee363e07fc47f1837334246ac387dcf3ca1990d3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 27 Sep 2022 17:10:23 +0200 Subject: [PATCH] fix tokens --- .github/workflows/image.yml | 2 +- .github/workflows/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 8de32779a..82a6f2b0a 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -21,4 +21,4 @@ jobs: - name: Compress Images uses: calibreapp/image-actions@main with: - githubToken: ${{ secrets.GITHUB_TOKEN }} + githubToken: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5a7b47a4..8b0df8018 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,13 +206,13 @@ jobs: with: fetch-depth: 0 submodules: recursive - token: ${{ secrets.GH_PAT }} + token: ${{ secrets.GH_TOKEN }} - name: Lint Code Base uses: github/super-linter@v4 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: develop - GITHUB_TOKEN: ${{ secrets.GH_PAT }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} custom: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'NO_CI')"