Skip to content

Commit 0cc8ad1

Browse files
committed
fix: pin 6 unpinned action(s),extract 1 unsafe expression(s) to env vars
Automated security fixes applied by Runner Guard (https://github.com/Vigilant-LLC/runner-guard). Changes: .github/workflows/build.yml | 2 +- .github/workflows/devcontainer_ci.yml | 2 +- .github/workflows/directory_writer.yml | 4 +++- .github/workflows/project_euler.yml | 4 ++-- .github/workflows/ruff.yml | 2 +- .github/workflows/sphinx.yml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-)
1 parent 2574004 commit 0cc8ad1

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- run: sudo apt-get update && sudo apt-get install -y libhdf5-dev
1313
- uses: actions/checkout@v6
14-
- uses: astral-sh/setup-uv@v7
14+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
1515
with:
1616
enable-cache: true
1717
cache-dependency-glob: uv.lock

.github/workflows/devcontainer_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v6
16-
- uses: devcontainers/ci@v0.3
16+
- uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3
1717
with:
1818
push: never
1919
runCmd: "true"

.github/workflows/directory_writer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
1919
git config --global user.name "$GITHUB_ACTOR"
2020
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
21-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
21+
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
- name: Update DIRECTORY.md
2325
run: |
2426
git add DIRECTORY.md

.github/workflows/project_euler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
libhdf5-dev
2323
libopenblas-dev
2424
- uses: actions/checkout@v6
25-
- uses: astral-sh/setup-uv@v7
25+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
2626
- uses: actions/setup-python@v6
2727
with:
2828
python-version: 3.14
@@ -40,7 +40,7 @@ jobs:
4040
libhdf5-dev
4141
libopenblas-dev
4242
- uses: actions/checkout@v6
43-
- uses: astral-sh/setup-uv@v7
43+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
4444
- uses: actions/setup-python@v6
4545
with:
4646
python-version: 3.14

.github/workflows/ruff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v6
15-
- uses: astral-sh/setup-uv@v7
15+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
1616
- run: uvx ruff check --output-format=github .

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
libhdf5-dev
3434
libopenblas-dev
3535
- uses: actions/checkout@v6
36-
- uses: astral-sh/setup-uv@v7
36+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
3737
- uses: actions/setup-python@v6
3838
with:
3939
python-version: 3.14

0 commit comments

Comments
 (0)