Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v4.3.3
uses: gittools/actions/gitversion/setup@v4.4.2
with:
versionSpec: "6.x"

- name: Version with GitVersion # https://github.com/marketplace/actions/use-actions
id: gitversion
uses: gittools/actions/gitversion/execute@v4.3.3
uses: gittools/actions/gitversion/execute@v4.4.2
Comment on lines +40 to +46
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Pin these third-party GitHub Actions to immutable commit SHAs instead of a movable tag. Relying on v4.4.2 leaves the workflow exposed to a supply-chain compromise if that tag is ever retargeted upstream. [security, importance: 8]

Suggested change
uses: gittools/actions/gitversion/setup@v4.4.2
with:
versionSpec: "6.x"
- name: Version with GitVersion # https://github.com/marketplace/actions/use-actions
id: gitversion
uses: gittools/actions/gitversion/execute@v4.3.3
uses: gittools/actions/gitversion/execute@v4.4.2
uses: gittools/actions/gitversion/setup@<full-length-commit-sha> # v4.4.2
...
uses: gittools/actions/gitversion/execute@<full-length-commit-sha> # v4.4.2


- name: Push version tag
uses: tvdias/github-tagger@v0.0.2
Expand Down