From 48291500c502e7d1a492b6402cb068e2af126d38 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 18 Feb 2024 16:07:29 +0100 Subject: [PATCH 1/2] Update GITHUB_TOKEN in Linter workflow --- .github/workflows/Linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index e7657b1..c6dece0 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -18,4 +18,4 @@ jobs: - name: Lint code base uses: github/super-linter@latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} From 04880a7f0b2a0d0e8868a54a615ddacbac9833eb Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 18 Feb 2024 16:11:02 +0100 Subject: [PATCH 2/2] fix --- .github/workflows/Action-Test.yml | 8 -------- .github/workflows/Linter.yml | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index 4bfb0bd..5b741c4 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -4,17 +4,9 @@ on: push: branches: - main - paths: - - action.yml - - .github/workflows/Action-Test.yml - - scripts/** pull_request_target: branches: - main - paths: - - action.yml - - .github/workflows/Action-Test.yml - - scripts/** jobs: ActionTestDefault: diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index c6dece0..6a2b247 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -3,6 +3,9 @@ name: Linter run-name: "Linter - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" on: + push: + branches: + - main pull_request_target: branches: - main