nixpkgs/.github
Wolfgang Walther 6720d25429
workflows: checkout nixpkgs into trusted/untrusted directories
By consistently checking out nixpkgs into the same location in every
workflow, it's easier to reason about the different workflows at once.
We also use crystal-clear names to make clear, which checkouts are
considered trusted, because they only contain target-branch-code and
which checkouts are untrusted, because they contain code from the head
branch. By naming the checkout directories trusted/untrusted, it's
obvious at the call-site.

One example of where we likely did the wrong thing is the nixpkgs-vet
workflow: Fetching the toolVersion from the untrusted checkout opens the
door for an injection into the download URL, thus code could be
downloaded from anywhere. This is not a problem, because this workflow
does not run with elevated privileges, but it's a scary oversight
nonetheless.
2025-05-25 14:33:06 +02:00
..
actions/get-merge-commit actions/get-merge-conflict: refactor 2025-05-25 14:32:51 +02:00
ISSUE_TEMPLATE ISSUE_TEMPLATES: update releases following 25.11's branch-off 2025-05-16 20:27:35 -03:00
workflows workflows: checkout nixpkgs into trusted/untrusted directories 2025-05-25 14:33:06 +02:00
dependabot.yml .github/dependabot.yml: disable default labels 2025-05-05 17:15:19 +02:00
ISSUE_TEMPLATE.md ISSUE_TEMPLATE.md: clear the blank issue template 2025-01-12 16:01:56 -03:00
labeler-development-branches.yml workflows/labeler: fix repo owner condition 2025-05-04 18:52:43 +02:00
labeler-no-sync.yml labels: Automatically label CI changes for backport to 25.05 2025-05-16 20:53:25 +02:00
labeler.yml labels: no CI label for OWNERS changes 2025-05-11 12:20:07 +02:00
PULL_REQUEST_TEMPLATE.md 25.11 is Xantusia 2025-05-16 19:21:55 +02:00
STALE-BOT.md .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00
stale.yml .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00