diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67cf977cf..55a8f58f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -291,7 +291,8 @@ jobs: contents: read packages: read security-events: write - uses: ./.github/workflows/image-scan.yml + # actionlint doesn't understand the $/ self-repository syntax yet. + uses: ./.github/workflows/image-scan.yml # zizmor: ignore[self-repository] with: images: >- ["ghcr.io/${{ github.repository_owner }}/romm:${{ needs.merge.outputs.version }}", diff --git a/.pinact.yaml b/.pinact.yaml new file mode 100644 index 000000000..997b18fb0 --- /dev/null +++ b/.pinact.yaml @@ -0,0 +1,8 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/suzuki-shunsuke/pinact/refs/heads/main/json-schema/pinact.json +version: 3 +rules: + # aquasecurity's IP allow list rejects API calls from GitHub-hosted runners, + # so skip verifying the tag comment once the action is pinned to a SHA. + - ignore: true + conditions: + - expr: ActionRepoOwner == "aquasecurity" && ActionVersion matches "^[0-9a-f]{40}$"