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
2 changes: 1 addition & 1 deletion .github/workflows/push-email-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Send push notification email
uses: dawidd6/action-send-mail@v3.12.0
uses: dawidd6/action-send-mail@v18

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

Pinning GitHub Actions to a full 40-character commit SHA is a critical security practice to ensure the action is immutable and protect against supply chain attacks. While tags like 'v18' are easier to read, they can be reassigned to different commits.

To remediate this, find the full 40-character commit SHA for the 'v18' tag and update line 21 to use that SHA. You can include the tag as a comment for reference: uses: dawidd6/action-send-mail@<SHA> # v18

with:
server_address: ${{ secrets.SMTP_HOST }}
server_port: ${{ secrets.SMTP_PORT }}
Expand Down
Loading