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 <noreply@anthropic.com>
This commit is contained in:
Robby RussellandClaude Fable 5.2 committed 2026-11-28 14:03:15 -08:00
1 parent 9676f17f09
commit f766a44194
2 files changed
+10 -3

No files matched your search

+6
View File
@@ -19,6 +19,7 @@ workflows:
- 'step-security/harden-runner@v2.23.0' - 'step-security/harden-runner@v2.23.0'
'.github/workflows/main.yml': '.github/workflows/main.yml':
- 'actions/checkout@v7.0.1' - 'actions/checkout@v7.0.1'
- 'actions/setup-python@v7.0.0'
- 'step-security/harden-runner@v2.23.0' - 'step-security/harden-runner@v2.23.0'
'.github/workflows/project.yml': '.github/workflows/project.yml':
- 'actions/create-github-app-token@v3.4.0' - 'actions/create-github-app-token@v3.4.0'
@@ -45,6 +46,11 @@ dependencies:
commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1' commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
owner_id: 44036562 owner_id: 44036562
repo_id: 189476904 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': 'actions/setup-python@v7.1.0':
ref: 'v7.1.0' ref: 'v7.1.0'
commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0' commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
+4 -3
View File
@@ -46,11 +46,12 @@ jobs:
collisions: collisions:
name: Check alias collisions name: Check alias collisions
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10
steps: steps:
- name: Set up git repository - name: Set up git repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 uses: actions/checkout@v7.0.1
- name: Set up Python - name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 uses: actions/setup-python@v7.0.0
with: with:
python-version: '3.14' python-version: '3.14'
- name: Install dependencies - name: Install dependencies
@@ -62,7 +63,7 @@ jobs:
cd .github/workflows/alias_collision/ cd .github/workflows/alias_collision/
python -m pytest python -m pytest
- name: Checkout target branch - name: Checkout target branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 uses: actions/checkout@v7.0.1
with: with:
path: ohmyzsh-target-branch path: ohmyzsh-target-branch
ref: master ref: master