mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
workflows/eval: fix actionlint
mergedSha is available from needs.get-merge-commit, not needs.attrs. Actionlint rightfully complains about that. The code still works as expected because nixpkgs/ is checked out at mergedSha, so the diff will be between mergedSha and baseSha.
This commit is contained in:
parent
fcb24b90d0
commit
72fd375d1c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/eval.yml
vendored
2
.github/workflows/eval.yml
vendored
|
@ -203,7 +203,7 @@ jobs:
|
|||
if: steps.baseRunId.outputs.baseRunId
|
||||
run: |
|
||||
git -C nixpkgs worktree add ../base ${{ needs.attrs.outputs.baseSha }}
|
||||
git -C nixpkgs diff --name-only ${{ needs.attrs.outputs.baseSha }} ${{ needs.attrs.outputs.mergedSha }} \
|
||||
git -C nixpkgs diff --name-only ${{ needs.attrs.outputs.baseSha }} \
|
||||
| jq --raw-input --slurp 'split("\n")[:-1]' > touched-files.json
|
||||
|
||||
# Use the base branch to get accurate maintainer info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue