diff --git a/.github/workflows/__shared-ci.yml b/.github/workflows/__shared-ci.yml index 608abb6..121d3bc 100644 --- a/.github/workflows/__shared-ci.yml +++ b/.github/workflows/__shared-ci.yml @@ -14,22 +14,21 @@ permissions: {} jobs: linter: - uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@b48521243b3ce4824d46bf414c32d8078171b48b # 0.35.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 permissions: actions: read contents: read + issues: write + packages: read + pull-requests: write security-events: write statuses: write with: linter-env: | FILTER_REGEX_EXCLUDE=packages/theme/lib/**/*,packages/docs/build/**/* - VALIDATE_TYPESCRIPT_ES=false - VALIDATE_JAVASCRIPT_ES=false - VALIDATE_TSX=false - VALIDATE_CSS=false nodejs: - uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@6b74a8f070140f5c120f78026d58e4c00d1b1e37 # 0.24.2 + uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@df348077afa4e79725151d50606e9dc63f86dcb6 # 0.24.4 permissions: contents: read id-token: write @@ -53,7 +52,7 @@ jobs: steps: - id: package name: Create package tarball - uses: hoverkraft-tech/ci-github-nodejs/actions/package@6b74a8f070140f5c120f78026d58e4c00d1b1e37 # 0.24.2 + uses: hoverkraft-tech/ci-github-nodejs/actions/package@df348077afa4e79725151d50606e9dc63f86dcb6 # 0.24.4 with: working-directory: . package-directory: packages/theme diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index a18ee85..f34af22 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -11,7 +11,7 @@ permissions: {} jobs: greetings: - uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@b48521243b3ce4824d46bf414c32d8078171b48b # 0.35.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 permissions: contents: read issues: write diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 22fe4cb..cfc1fcd 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -20,6 +20,7 @@ jobs: packages: read pull-requests: write id-token: write + issues: write security-events: write statuses: write @@ -27,7 +28,7 @@ jobs: name: Publish package to npm needs: ci if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') - uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/release.yml@6b74a8f070140f5c120f78026d58e4c00d1b1e37 # 0.24.2 + uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/release.yml@df348077afa4e79725151d50606e9dc63f86dcb6 # 0.24.4 permissions: contents: read packages: write @@ -50,7 +51,7 @@ jobs: page-url: ${{ steps.deployment.outputs.url }} steps: - id: deployment - uses: hoverkraft-tech/ci-github-publish/actions/deploy/github-pages@281fe4959997eea619bf3a4be4fde2f16b8b6d0c # 0.23.3 + uses: hoverkraft-tech/ci-github-publish/actions/deploy/github-pages@607069025f6c1312680ed0864c4d9f4338b82dfe # 0.26.5 with: build-path: packages/docs/build build-artifact-id: ${{ needs.ci.outputs.build-artifact-id }} diff --git a/.github/workflows/need-fix-to-issue.yml b/.github/workflows/need-fix-to-issue.yml index a8a2d59..a56b4c6 100644 --- a/.github/workflows/need-fix-to-issue.yml +++ b/.github/workflows/need-fix-to-issue.yml @@ -20,7 +20,7 @@ permissions: {} jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@b48521243b3ce4824d46bf414c32d8078171b48b # 0.35.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 permissions: contents: read issues: write diff --git a/.github/workflows/pull-request-ci.yml b/.github/workflows/pull-request-ci.yml index 7abd930..d025345 100644 --- a/.github/workflows/pull-request-ci.yml +++ b/.github/workflows/pull-request-ci.yml @@ -20,5 +20,6 @@ jobs: packages: read pull-requests: write id-token: write + issues: write security-events: write statuses: write diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index e38f09b..71820a4 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -11,7 +11,7 @@ permissions: {} jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@b48521243b3ce4824d46bf414c32d8078171b48b # 0.35.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 permissions: contents: write pull-requests: write diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0593381..a14f306 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,7 +8,7 @@ permissions: {} jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@b48521243b3ce4824d46bf414c32d8078171b48b # 0.35.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3 permissions: issues: write pull-requests: write diff --git a/Makefile b/Makefile index 7e9b7e1..705876a 100644 --- a/Makefile +++ b/Makefile @@ -51,13 +51,14 @@ define run_linter DEFAULT_WORKSPACE="$(CURDIR)"; \ LINTER_IMAGE="linter:latest"; \ VOLUME="$$DEFAULT_WORKSPACE:$$DEFAULT_WORKSPACE"; \ - docker build --build-arg UID=$(shell id -u) --build-arg GID=$(shell id -g) --tag $$LINTER_IMAGE .; \ + docker build --platform linux/amd64 --build-arg UID=$(shell id -u) --build-arg GID=$(shell id -g) --tag $$LINTER_IMAGE .; \ docker run \ + --platform linux/amd64 \ + -v "$VOLUME" \ + --rm \ -e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \ -e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \ $(1) \ - -v $$VOLUME \ - --rm \ $$LINTER_IMAGE endef