Skip to content

Commit becda48

Browse files
committed
chore: update GitHub Actions to use specific commit hashes for actions
1 parent 0876277 commit becda48

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818
name: Lint and Test
1919
runs-on: ubuntu-22.04
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
22+
with:
23+
persist-credentials: false
2224
- name: Install Poetry
2325
run: pipx install poetry==1.8.3
2426

2527
- name: Set up Python
26-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
2729
with:
2830
python-version-file: .python-version
2931
cache: poetry

.github/workflows/deploy_mkdocs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@e31de5234b9f8995739874a8ce0492dc87873e2 # v4
16+
with:
17+
persist-credentials: false
1618
- name: Configure Git Credentials
1719
run: |
1820
git config user.name github-actions[bot]
1921
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
20-
- uses: actions/setup-python@v5
22+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
2123
with:
2224
python-version: 3.x
2325
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
24-
- uses: actions/cache@v4
26+
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
2527
with:
2628
key: mkdocs-material-${{ env.cache_id }}
2729
path: .cache

.github/workflows/mega-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ jobs:
8585

8686
# You can override MegaLinter flavor used to have faster performances
8787
# More info at https://megalinter.io/latest/flavors/
88-
# The below commit hash is v8.8.0
89-
uses: oxsecurity/megalinter@e08c2b05e3dbc40af4c23f41172ef1e068a7d651
88+
# The below commit hash is v9.5.0
89+
uses: oxsecurity/megalinter@0e3ce9b9c8c10effb9b269509cc47ca17cae31c7
9090

9191
id: ml
9292

0 commit comments

Comments
 (0)