File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,24 @@ jobs:
3535
3636 steps :
3737 - uses : actions/checkout@v4
38- with :
39- fetch-depth : 0
4038
4139 - name : Install Nix
4240 uses : metacraft-labs/nixos-modules/.github/install-nix@main
4341 with :
4442 cachix-cache : ${{ vars.CACHIX_CACHE }}
4543 cachix-auth-token : ${{ secrets.CACHIX_AUTH_TOKEN }}
46- nix-github-token : ${{ secrets.NIX_GITHUB_TOKEN }}
4744
4845 - name : Compare disko configurations
46+ env :
47+ CACHIX_CACHE : ${{ vars.CACHIX_CACHE }}
48+ CACHIX_AUTH_TOKEN : ${{ secrets.CACHIX_AUTH_TOKEN }}
49+ MCL_BRANCH : ${{ github.repository == 'metacraft-labs/nixos-modules' && github.sha || 'main' }}
4950 run : nix run --accept-flake-config github:metacraft-labs/nixos-modules/${{ env.MCL_BRANCH }}#mcl compare_disko
5051
5152 create-comment :
5253 runs-on : ${{ fromJSON(inputs.runner) }}
5354 name : ' Create comment'
55+ needs : [post-initial-comment, compare-disko-configs]
5456
5557 steps :
5658 - name : Post Comment
You can’t perform that action at this time.
0 commit comments