Skip to content

feat!: harden lint.yml, notify-slack-tag.yml and dependabot - #85

Draft
Ilyes512 wants to merge 2 commits into
4.0/remove-3xfrom
4.0/hardening
Draft

Ilyes512 wants to merge 2 commits into
4.0/remove-3xfrom
4.0/hardening

Conversation

@Ilyes512

@Ilyes512 Ilyes512 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Handoff Part 2 items for the files that remain:

  • lint.yml: contents: read, persist-credentials: false, actions pinned by SHA, actionlint pinned to the Taskfile's 1.7.12 (by digest), job timeouts, a zizmor job, and a check that no workflow references this repository by tag.
  • notify-slack-tag.yml (breaking): the channel input is removed, the payload is built with jq, runs-on defaults to ubuntu-26.04, and the Slack action is pinned by SHA.
  • dependabot: weekly, one grouped PR, 7-day cooldown.
  • Taskfile: task zizmor.

Every job runs on ubuntu-26.04. zizmor 1.32.0 reports no findings, with no audits disabled (pedantic: only undocumented-permissions comments).

Part of the 4.0.0 stack (bake variant of the plan in #80). Merge bottom to top: #82 → #83 → #84 → #85 → #86.

- lint.yml: contents: read, persist-credentials: false, actions pinned
  by commit SHA, actionlint pinned to the Taskfile's 1.7.12 (by
  digest), timeouts on every job, a zizmor job, and a check that no
  workflow references this repository by tag: that is how 3.0.1
  shipped without its fix, and bake.yml needs no such reference.
- notify-slack-tag.yml: the channel input is gone (an incoming webhook
  always posts to its own channel), the payload is built with jq so a
  tag name can't break it, runs-on defaults to ubuntu-24.04, and the
  Slack action is pinned by commit SHA.
- dependabot: weekly, with every github-actions update grouped into one
  pull request and a seven-day cooldown.
- Taskfile: a zizmor task at the same version as lint.yml.
…izmor config

bake.yml's test now calls it with the $/ self-repository syntax, so the
self-repository audit no longer needs to be disabled.
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