Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/reusable-pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
depth=$(expr ${{ github.event.pull_request.commits }} + 1)
echo "base-depth=$depth"
echo "base-depth=$depth" >> $GITHUB_OUTPUT
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
# for non PR events, check out to depth 1 (the default)
Expand All @@ -69,15 +69,15 @@ jobs:
run: |
git config --local --unset-all http.https://github.com/.extraheader || [ $? -eq 5 ]
git config --local --unset-all include.path || [ $? -eq 5 ]
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ inputs.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- name: Install pre-commit with uv
run: uv tool install pre-commit
- name: Cache for pre-commit hooks
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-python-build_poetry_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
version: ${{ steps.get-version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
fetch-depth: 0
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
JF_ACCESS_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}

- name: Set up Python version
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ inputs.python-version }}
- name: Install poetry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
version: ${{ steps.get-version.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
fetch-depth: 0
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
JF_URL: https://${{ secrets.JFROG_ARTIFACTORY_URL }}
JF_ACCESS_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
- name: Set up Python version
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ inputs.python-version }}
- name: Verify package installation
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-python-publish_rattler_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
RECIPE_PATH: ${{ inputs.recipe-path || format('{0}/{1}', inputs.source-path || '.', 'recipe.yaml') }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
fetch-depth: 0
persist-credentials: false
- name: Set up Python version
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ inputs.python-version }}
- name: Generate package version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-python-pytest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pytest on any OS
name: Pytest on any OS

on:
workflow_call:
Expand Down Expand Up @@ -121,14 +121,14 @@
shell: 'bash -l {0}'
timeout-minutes: ${{ inputs.timeout-minutes }}
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
fetch-depth: 0
persist-credentials: false

- name: Set up Python version
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
if: ${{ inputs.package-manager == 'poetry' || inputs.package-manager == 'hatch' }}
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -171,7 +171,7 @@

- name: Generate GitHub App token for private repos
if: ${{ inputs.private-github-repos != '' }}
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0

Check failure on line 174 in .github/workflows/reusable-python-pytest.yml

View workflow job for this annotation

GitHub Actions / Zizmor analysis (annotate) / Security Scan

github-app

reusable-python-pytest.yml:174: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
id: app-token
with:
client-id: ${{ secrets.GH_CLIENT_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-python-static_analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Static analysis
name: Static analysis

on:
workflow_call:
Expand Down Expand Up @@ -122,7 +122,7 @@
shell: 'bash -l {0}'
timeout-minutes: ${{ inputs.timeout-minutes }}
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
lfs: ${{ inputs.lfs }}
fetch-depth: 0
Expand Down Expand Up @@ -173,7 +173,7 @@
git config --local --unset-all include.path || [ $? -eq 5 ]

- name: Set up Python version
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
if: ${{ inputs.package-manager == 'poetry' || inputs.package-manager == 'hatch' }}
with:
python-version: ${{inputs.python-version}}
Expand Down Expand Up @@ -216,7 +216,7 @@

- name: Generate GitHub App token for private repos
if: ${{ inputs.private-github-repos != '' }}
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0

Check failure on line 219 in .github/workflows/reusable-python-static_analysis.yml

View workflow job for this annotation

GitHub Actions / Zizmor analysis (annotate) / Security Scan

github-app

reusable-python-static_analysis.yml:219: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
id: app-token
with:
client-id: ${{ secrets.GH_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
requires-python = ">=3.12"
EOF
- name: Setup Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.12'
- name: Setup uv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-zizmor-advanced-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-zizmor-annotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-zizmor-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand Down
Loading