Repository navigation
ci: harden GitHub Actions permissions, action versions, dependabot, and release script - #222
Merged
brucearctor merged 2 commits intoNov 24, 2026
Conversation
brucearctor
force-pushed
the
ci/harden-workflows-and-lint-gates
branch
from
November 20, 2026 06:30
ecc22e6 to
29d347d
Compare
This was referenced Nov 20, 2026
eusouluizlacerda
approved these changes
Nov 24, 2026
This was referenced Nov 27, 2026
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #220
Summary
Hardens GitHub Actions workflows, Dependabot configuration, and release packaging:
permissions: contents: read: Added top-level read-only permissions to.github/workflows/userale_ci.yml,distill_ci.yml, andlicense.yml(stale.ymlalready scopes explicit write permissions).userale_ci.yml:npm install -g pnpm@10withpnpm/action-setup@v4(readspackageManagerfrom rootpackage.json). Keepspnpm isince.gitignoreexcludespnpm-lock.yaml.proto/**andsite/_includes/useralejsDemo.htmltopush.pathsandpull_request.paths.pnpm exec tsc --noEmit -p packages/flagon-userale/tsconfig.jsontypechecking topre-build.distill_ci.yml:proto/**to path triggers. (Addingruff/mypyCI steps is paired with fix(distill): remove unused copyleft deps (scipy/codespell) and harden parsers, sessions, and analytics for privacy-minimized logs #218 somasterchecks stay green.)site.yml:actions/checkout@v2->@v4andactions/setup-node@v2->@v4./tmp/_siteand unquotedrm -rf *withmktemp -d+trapcleanup andgit rm -rf --ignore-unmatch ...github/dependabot.yml:/products/distillfrompiptouv.github-actionsand rootnpmecosystems.scripts/make-release-artifacts.sh:mktemp -d+trapcleanup instead of predictable${TMPDIR:-/tmp}/release-working-dir, quotes path expansions, and usespnpminproducts/userale.Verification
.github/**/*.ymlworkflow & Dependabot configs cleanly with PyYAML.bash -n scripts/make-release-artifacts.shexits 0.