Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-backports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Merge qualifying PRs
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10
with:
operations-per-run: 1000
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bincheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
if: github.repository == 'cockroachdb/cockroach'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- run: cd build/release/bincheck && ./test-linux ${{ github.ref_name }} ${{ github.sha }}

darwin-arm64:
if: github.repository == 'cockroachdb/cockroach'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- run: cd build/release/bincheck && ./test-macos-arm64 ${{ github.ref_name }} ${{ github.sha }}

windows:
if: github.repository == 'cockroachdb/cockroach'
runs-on: windows-latest
steps:
- run: git config --system core.longpaths true
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- run: cd build/release/bincheck && bash test-windows ${{ github.ref_name }} ${{ github.sha }}
6 changes: 3 additions & 3 deletions .github/workflows/blathers-backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
with:
app-id: ${{ secrets.BLATHERS_APP_ID }}
private-key: ${{ secrets.BLATHERS_PRIVATE_KEY }}

- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
- name: Analyze conflicts
id: analyze
if: always() && steps.backport.outputs.has_conflicts == 'true'
uses: cockroachdb/claude-code-action@v1
uses: cockroachdb/claude-code-action@426380f01bad0a17200865605a85cb28926dccbf # v1
env:
ANTHROPIC_VERTEX_PROJECT_ID: ${{ env.HAS_API_KEY != 'true' && 'vertex-model-runners' || '' }}
CLOUD_ML_REGION: ${{ env.HAS_API_KEY != 'true' && 'us-east5' || '' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-pebble-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Notify Slack on failure
if: steps.run_script.outputs.exitcode != '0'
uses: slackapi/slack-github-action@v2.1.0
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
with:
errors: true
method: chat.postMessage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-fixed-on-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
issues: write
steps:
- name: Close issues for deleted RC branches
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cluster-ui-release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
working-directory: pkg/ui/workspaces/cluster-ui

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
submodules: true

- name: Bazel Cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-cache
Expand All @@ -32,7 +32,7 @@ jobs:
version: "9.15.5"

- name: Setup NodeJS
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cluster-ui-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
working-directory: pkg/ui/workspaces/cluster-ui

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
submodules: true

- name: Bazel Cache
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-cache
Expand All @@ -35,7 +35,7 @@ jobs:
version: "9.15.5"

- name: Setup NodeJS
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-cover-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
FETCH_DEPTH: 15
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
# By default, checkout merges the PR into the current master.
# Instead, we want to check out the PR as is.
Expand All @@ -24,7 +24,7 @@ jobs:
fetch-depth: ${{ env.FETCH_DEPTH }}

- name: Set up Bazel cache
uses: actions/cache@v3
uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3
with:
path: |
~/.cache/bazel
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
fi

- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: cover
path: artifacts/cover-*.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-cover-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
github.event.workflow_run.conclusion == 'success'
steps:
- name: 'Download artifact'
uses: actions/github-script@v7.0.1
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.0.1
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flaky-test-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- run: ./build/github/get-engflow-keys.sh
- name: Run flaky-test-notifier
env:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/github-actions-essential-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: [self-hosted, ubuntu_big_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
Expand All @@ -79,7 +79,7 @@ jobs:
runs-on: [self-hosted, ubuntu_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: [self-hosted, ubuntu_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
Expand All @@ -115,11 +115,11 @@ jobs:
runs-on: [self-hosted, ubuntu_big_2404]
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
path: cockroach
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
path: examples-orms
repository: cockroachdb/examples-orms
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
runs-on: [self-hosted, ubuntu_huge_2404]
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: true
Expand All @@ -172,7 +172,7 @@ jobs:
runs-on: [self-hosted, ubuntu_big_2404]
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: true
Expand All @@ -181,11 +181,11 @@ jobs:
- run: ./build/github/get-engflow-keys.sh
- name: run local roachtests
run: ./build/github/local-roachtest.sh crosslinux
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: local_roachtest_test_summary.tsv
path: artifacts/test_summary.tsv
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: ${{ failure() }}
with:
name: local roachtest artifacts
Expand All @@ -197,7 +197,7 @@ jobs:
runs-on: [self-hosted, ubuntu_big_2404]
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: true
Expand All @@ -206,11 +206,11 @@ jobs:
- run: ./build/github/get-engflow-keys.sh
- name: run local roachtests
run: ./build/github/local-roachtest.sh crosslinuxfips
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: local_roachtest_fips_test_summary.tsv
path: artifacts/test_summary.tsv
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: ${{ failure() }}
with:
name: local roachtest (FIPS) artifacts
Expand All @@ -222,7 +222,7 @@ jobs:
runs-on: [self-hosted, ubuntu_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
Expand All @@ -243,7 +243,7 @@ jobs:
runs-on: [self-hosted, ubuntu_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: compute metadata
Expand All @@ -264,7 +264,7 @@ jobs:
runs-on: [self-hosted, ubuntu_big_2404]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: run race canary test
Expand All @@ -276,7 +276,7 @@ jobs:
- name: calculate commit depth
if: github.event.pull_request.commits
run: echo COMMIT_DEPTH=$(echo '${{ github.event.pull_request.commits }} + 1' | bc) >> "$GITHUB_ENV"
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
# By default, checkout merges the PR into the current master.
# Instead, we want to check out the PR as is.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-actions-extended-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- name: calculate commit depth
run: echo COMMIT_DEPTH=$(echo '${{ github.event.pull_request.commits }} + 1' | bc) >> "$GITHUB_ENV"
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
fetch-depth: ${{ env.COMMIT_DEPTH }}
Expand All @@ -61,7 +61,7 @@ jobs:
steps:
- name: calculate commit depth
run: echo COMMIT_DEPTH=$(echo '${{ github.event.pull_request.commits }} + 1' | bc) >> "$GITHUB_ENV"
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
fetch-depth: ${{ env.COMMIT_DEPTH }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/investigate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
# full clone of the cockroach repo while still giving the agent
# full history without manual deepening.
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
repository: ${{ env.HAS_API_KEY == 'true' && github.repository || env.CODE_REPO }}
token: ${{ env.HAS_API_KEY == 'true' && secrets.GITHUB_TOKEN || secrets.INVESTIGATE_PAT }}
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
fi

- name: Investigate
uses: cockroachdb/claude-code-action@v1
uses: cockroachdb/claude-code-action@426380f01bad0a17200865605a85cb28926dccbf # v1
env:
ANTHROPIC_VERTEX_PROJECT_ID: ${{ env.HAS_API_KEY != 'true' && 'vertex-model-runners' || '' }}
CLOUD_ML_REGION: ${{ env.HAS_API_KEY != 'true' && 'global' || '' }}
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:

- name: Upload findings
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: investigation-findings
path: artifacts/findings.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-autosolve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
done

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
repository: ${{ env.CODE_REPO }}
token: ${{ secrets.AUTOSOLVER_CREATE_PRS_PAT }}
Expand Down
Loading