diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ab1c3d3..79b216936 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,13 @@ jobs: name: ci runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4.3.0 with: go-version: '^1.21' - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@a8b67ba40b37d35169e222f3bb352603327985b6 # v2.1.0 - name: 'Setup jq' - uses: dcarbone/install-jq-action@v2 + uses: dcarbone/install-jq-action@8867ddb4788346d7c22b72ea2e2ffe4d514c7bcb # v2.1.0 - run: make ci-build - name: Fail if the repo is dirty run: | diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index cf927a589..c9c480964 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -34,7 +34,7 @@ jobs: api_go_commit_sha: ${{ steps.pin_commits.outputs.api_go_commit_sha }} steps: - name: Checkout api - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: ref: ${{ github.event.inputs.branch }} fetch-depth: 0 @@ -42,7 +42,7 @@ jobs: path: api - name: Checkout api-go - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: repository: temporalio/api-go ref: ${{ github.event.inputs.branch }} @@ -107,14 +107,14 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0 with: app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} owner: ${{ github.repository_owner }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: ref: ${{ needs.prepare-inputs.outputs.api_commit_sha }} token: ${{ steps.generate_token.outputs.token }} diff --git a/.github/workflows/push-to-buf.yml b/.github/workflows/push-to-buf.yml index 6bc3d4c25..f2cd0a675 100644 --- a/.github/workflows/push-to-buf.yml +++ b/.github/workflows/push-to-buf.yml @@ -13,8 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4 - - uses: bufbuild/buf-action@v1 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1.4.0 with: version: 1.49.0 token: ${{ secrets.BUF_TEMPORALIO_TOKEN }} diff --git a/.github/workflows/trigger-api-go-update.yml b/.github/workflows/trigger-api-go-update.yml index 0114c1108..384277b52 100644 --- a/.github/workflows/trigger-api-go-update.yml +++ b/.github/workflows/trigger-api-go-update.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0 with: app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }}