Skip to content

Commit 200ff96

Browse files
Pin GitHub Actions in deploy workflow to commit SHAs
Agent-Logs-Url: https://github.com/cpp-linter/cpp-linter.github.io/sessions/75d92b08-b787-4c36-aaa0-5136c847f806 Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent 1b37b17 commit 200ff96

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout Repository
13-
uses: actions/checkout@v6
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1414
with:
1515
persist-credentials: false
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v6
18+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
1919
with:
2020
python-version: '3.x'
2121

2222
- name: Install Dependencies
2323
run: pipx run nox -s docs
2424

2525
- name: Upload docs build as artifact
26-
uses: actions/upload-pages-artifact@v5
26+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
2727
with:
2828
name: ${{ github.event.repository.name }}_docs
2929
path: ${{ github.workspace }}/site
@@ -44,6 +44,6 @@ jobs:
4444
steps:
4545
- name: Deploy to GitHub Pages
4646
id: deployment
47-
uses: actions/deploy-pages@v5
47+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5
4848
with:
4949
artifact_name: ${{ github.event.repository.name }}_docs

0 commit comments

Comments
 (0)