diff --git a/.github/workflows/lint_golang.yml b/.github/workflows/lint_golang.yml index 5305ea8..256bb98 100644 --- a/.github/workflows/lint_golang.yml +++ b/.github/workflows/lint_golang.yml @@ -15,15 +15,15 @@ jobs: name: Lint with GolangCI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-go@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 id: go with: go-version-file: go.mod # We use a manually configured cache key to avoid conflicts with the test action cache # See https://github.com/actions/setup-go/issues/358 cache: false - - uses: actions/cache@v5 + - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 with: path: | ~/.cache/go-build @@ -32,7 +32,7 @@ jobs: restore-keys: | ${{runner.os}}-go-${{steps.go.outputs.go-version}}-lint - name: golangci-lint - uses: golangci/golangci-lint-action@v9 + uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9 with: version: v2.10.1 args: --verbose diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 8a6f52a..38710a8 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -17,7 +17,7 @@ jobs: steps: # Please look up the latest version from # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v6 + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml index 62a2812..5b4d170 100644 --- a/.github/workflows/regen.yml +++ b/.github/workflows/regen.yml @@ -12,15 +12,15 @@ jobs: timeout-minutes: 30 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-go@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 id: go with: go-version-file: go.mod # We use a manually configured cache key to avoid conflicts with the test action cache # See https://github.com/actions/setup-go/issues/358 cache: false - - uses: actions/cache@v5 + - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 with: path: | ~/.cache/go-build @@ -41,7 +41,7 @@ jobs: make clone make gen-proto - name: Create Pull Request - uses: peter-evans/create-pull-request@v8 + uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8 with: # required so the PR triggers workflow runs token: ${{ secrets.GH_CQ_BOT }} diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml index da07aea..a22502b 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -11,7 +11,7 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4 id: release with: token: ${{ secrets.GH_CQ_BOT }} @@ -30,7 +30,7 @@ jobs: with: prerelease: true - name: Trigger Renovate - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 if: steps.release.outputs.release_created && steps.semver_parser.outputs.prerelease == '' with: github-token: ${{ secrets.GH_CQ_BOT }} diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 7c6ca6b..2f9ab36 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -20,9 +20,9 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Check out code into the Go module directory - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up Go 1.x - uses: actions/setup-go@v6 + uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 with: go-version-file: go.mod - run: go mod download