Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflows: harden, update tooling #206

Merged
merged 6 commits into from
Dec 16, 2024
Merged

Workflows: harden, update tooling #206

merged 6 commits into from
Dec 16, 2024

Conversation

airwoodix
Copy link
Collaborator

Summary

Various workflows hardening measures, guided by zizmor reports (thanks @wilfried-huss for the hint).

  • use persist-credentials: false in actions/checkout. We don't use raw git commands in the steps (so none requires authentication)
  • restrict the tag patterns that trigger the docs and release workflows
  • for documentation and release, split the workflows into build and release jobs, such that token permissions are only given when strictly necessary
  • update Poetry and Python versions in docs and release.

@airwoodix airwoodix self-assigned this Dec 13, 2024
@airwoodix airwoodix changed the title Workflows: hardening, update tooling Workflows: harden, update tooling Dec 13, 2024
@airwoodix airwoodix marked this pull request as ready for review December 13, 2024 08:39
@airwoodix airwoodix merged commit 1b533c9 into master Dec 16, 2024
15 checks passed
@airwoodix airwoodix deleted the workflows-hardening branch December 16, 2024 12:03
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.

2 participants