From 47e3af95212760b3d50ed777b55152bf3651c793 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Fri, 13 Dec 2024 15:15:24 -0600 Subject: [PATCH] Update GitHub workflows --- .github/workflows/publish.yml | 2 +- .github/workflows/stage.yml | 2 +- .github/workflows/test-pull-request.yml | 2 +- package.json | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 845c8678..3e4aea0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Get pathPrefix - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: get_path_prefix with: script: | diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 06551e32..99388b33 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -24,7 +24,7 @@ uses: actions/checkout@v4 - name: Get pathPrefix - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: get_path_prefix with: script: | diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 4b5d2f38..b755be3b 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -60,7 +60,7 @@ # Use full version number to avoid cases when a next # released version is buggy # About slim image: https://github.com/github/super-linter#slim-image - uses: super-linter/super-linter/slim@v7.0.0 + uses: super-linter/super-linter/slim@v7.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEFAULT_BRANCH: main diff --git a/package.json b/package.json index 33b0df66..3ac0b2d3 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,7 @@ "clean": "gatsby clean", "prettier": "prettier --write", "prettier:test": "prettier --check src", - "test": "remark src/pages --quiet --frail", - "lint": "docker run --rm -e RUN_LOCAL=true --env-file .github/super-linter.env -v \"$PWD\":/tmp/lint github/super-linter:slim-v5" + "test": "remark src/pages --quiet --frail" }, "devDependencies": { "prettier": "2.8.7",