From 01c2aae303a964c2205f5c1409a197b17f42c3ac Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Fri, 30 Oct 2026 20:58:11 +0900 Subject: [PATCH] pin GitHub Actions with gh actions-lock Co-Authored-By: Claude Opus 5.5 --- .github/workflows/actions.lock | 36 +++++++++++++++++++++++++++ .github/workflows/codeql-analysis.yml | 8 +++--- .github/workflows/fuzz.yml | 12 ++++----- .github/workflows/go.yml | 4 +-- 4 files changed, 48 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/actions.lock diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 0000000..b1ac882 --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,36 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/codeql-analysis.yml': + - 'actions/checkout@v7.0.1' + - 'github/codeql-action@v4.39.1' + '.github/workflows/fuzz.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-go@v7.0.0' + - 'shogo82148/actions-go-fuzz@v1.2.6' + '.github/workflows/go.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-go@v7.0.0' +dependencies: + 'actions/checkout@v7.0.1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/setup-go@v7.0.0': + ref: 'v7.0.0' + commit: 'sha1-b7ad1dad31e06c5925ef5d2fc7ad053ef454303e' + owner_id: 44036562 + repo_id: 192624594 + 'github/codeql-action@v4.39.1': + ref: 'v4.39.1' + commit: 'sha1-9b3254085494b55a0f7c4c2b3d2d52cc712ce370' + owner_id: 9919 + repo_id: 259445878 + 'shogo82148/actions-go-fuzz@v1.2.6': + ref: 'v1.2.6' + commit: 'sha1-0d0b84304d01c5a83a1b4453eb138fec74c1f662' + owner_id: 1157344 + repo_id: 658286023 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 63a5644..c7ae3a0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -43,7 +43,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 + uses: github/codeql-action/init@v4.39.1 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 + uses: github/codeql-action/autobuild@v4.39.1 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 + uses: github/codeql-action/analyze@v4.39.1 diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index be473a3..27cf32e 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-go@v7.0.0 with: go-version: "stable" - id: list - uses: shogo82148/actions-go-fuzz/list@0d0b84304d01c5a83a1b4453eb138fec74c1f662 # v1.2.6 + uses: shogo82148/actions-go-fuzz/list@v1.2.6 outputs: fuzz-tests: ${{steps.list.outputs.fuzz-tests}} @@ -31,11 +31,11 @@ jobs: matrix: include: ${{fromJson(needs.list.outputs.fuzz-tests)}} steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + - uses: actions/checkout@v7.0.1 + - uses: actions/setup-go@v7.0.0 with: go-version: "stable" - - uses: shogo82148/actions-go-fuzz/run@0d0b84304d01c5a83a1b4453eb138fec74c1f662 # v1.2.6 + - uses: shogo82148/actions-go-fuzz/run@v1.2.6 with: packages: ${{ matrix.package }} fuzz-regexp: ${{ matrix.func }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8bf3963..6b960e7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,10 +25,10 @@ jobs: steps: - name: Check out code into the Go module directory - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + uses: actions/setup-go@v7.0.0 with: go-version: ${{ matrix.go }}