From f766a441946b439da98bbde9a8ab8bb4e6934839 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Sat, 28 Nov 2026 14:03:15 -0800 Subject: [PATCH] ci: lock and time-limit the alias collision job The job arrived from master in #10859 after this branch was cut, so it had no timeout and its setup-python version was missing from the lockfile. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/actions.lock | 6 ++++++ .github/workflows/main.yml | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 5616a079a..48435fa71 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -19,6 +19,7 @@ workflows: - 'step-security/harden-runner@v2.23.0' '.github/workflows/main.yml': - 'actions/checkout@v7.0.1' + - 'actions/setup-python@v7.0.0' - 'step-security/harden-runner@v2.23.0' '.github/workflows/project.yml': - 'actions/create-github-app-token@v3.4.0' @@ -45,6 +46,11 @@ dependencies: commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1' owner_id: 44036562 repo_id: 189476904 + 'actions/setup-python@v7.0.0': + ref: 'v7.0.0' + commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97' + owner_id: 44036562 + repo_id: 192625525 'actions/setup-python@v7.1.0': ref: 'v7.1.0' commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b586e26a..520edf53b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,11 +46,12 @@ jobs: collisions: name: Check alias collisions runs-on: ubuntu-latest + timeout-minutes: 10 steps: - name: Set up git repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 - name: Set up Python - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 + uses: actions/setup-python@v7.0.0 with: python-version: '3.14' - name: Install dependencies @@ -62,7 +63,7 @@ jobs: cd .github/workflows/alias_collision/ python -m pytest - name: Checkout target branch - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 with: path: ohmyzsh-target-branch ref: master