Skip to content

Dependabot Support - #122

Open
3y3p4tch wants to merge 3 commits into
hyprwm:mainfrom
3y3p4tch:dependabot
Open

3y3p4tch wants to merge 3 commits into
hyprwm:mainfrom
3y3p4tch:dependabot

Conversation

@3y3p4tch

@3y3p4tch 3y3p4tch commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds dependabot for dependency management of our github workflows. I have taken the liberty to move pinned versions to their SHA hash and provided a script below to verify the same.

Note that this is a stacked PR on top of #121.

For easier verification of hashes, use the following bash script (generated by slopmaster):

# Verify every pinned action SHA matches the version in its trailing comment.
# Run from the repo root with bash (uses herestrings).
awk '$1=="uses:" && $3=="#" {print $2, $4}' .github/workflows/*.yml | sort -u |
while read -r ref tag; do
  repo=$(cut -d/ -f1,2 <<<"${ref%@*}")
  refs=$(git ls-remote "https://github.com/$repo" "refs/tags/$tag" "refs/tags/$tag^{}")
  want=$(awk '/\^\{\}$/{print $1; exit}' <<<"$refs")
  [ -n "$want" ] || want=$(awk 'NR==1{print $1}' <<<"$refs")
  [ "${ref#*@}" = "$want" ] && echo "ok    $repo $tag" || echo "FAIL  $repo $tag -> $want"
done

Expected output:

ok    actions/checkout v4.4.0
ok    actions/checkout v6.1.0
ok    actions/deploy-pages v4.0.5
ok    actions/upload-pages-artifact v3.0.1
ok    astral-sh/setup-uv v9.0.0
ok    mitchellh/vouch v1.5.0

For now, only Signal module is documented. Further modules will be
documented in future PRs.
Dependabot will help us manage workflow versions and automate
upgrades
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