FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add zizmor and harden GitHub Actions workflows by jeromekelleher · Pull Request #49 · tskit-dev/.github · GitHub

Add zizmor and harden GitHub Actions workflows - #49

Merged
jeromekelleher merged 2 commits into
tskit-dev:mainfrom
jeromekelleher:add-zizmor
Jun 30, 2026
Merged

jeromekelleher merged 2 commits into
tskit-dev:mainfrom
jeromekelleher:add-zizmor

Conversation

Copy link
Copy Markdown
Member

Zizmor is a static analysis method for GitHub actions which mitigates against supply chain attacks (which are a real and scary thing). I think it would be good to apply this across the tskit-dev ecosystem so that we don't get packages hijacked (however unlikely that is).

shell: bash
run: sudo apt-get update && sudo apt-get install -y ${{ inputs.additional-apt-packages }}
env:
ADDITIONAL_APT_PACKAGES: ${{ inputs.additional-apt-packages }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Note for reference - this defines the input as a environment variable, so the shell never interpolates the attacker-controlled input.

jeromekelleher merged commit 4aec7e4 into tskit-dev:main Jun 30, 2026
1 check passed
jeromekelleher deleted the add-zizmor branch June 30, 2026 12:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL