File tree Expand file tree Collapse file tree 3 files changed +41
-2
lines changed
Expand file tree Collapse file tree 3 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1+ name : nixpkgs
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 0 * * 0' # At 00:00 on Sunday
6+ env :
7+ NIX_VERSION : ' 2.18.0'
8+ jobs :
9+ update-nixpkgs :
10+ permissions :
11+ contents : write
12+ pull-requests : write
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : cachix/install-nix-action@v23
17+ with :
18+ install_url : https://releases.nixos.org/nix/nix-${{ env.NIX_VERSION }}/install
19+ - run : make nixpkgs
20+ - name : Check workspace
21+ id : create_pr
22+ run : |
23+ if [[ $(git diff --stat) != '' ]]; then
24+ echo "create_pr=true" >> "$GITHUB_OUTPUT"
25+ fi
26+ - name : Create PR if required
27+ uses : peter-evans/create-pull-request@v5
28+ if : ${{ steps.create_pr.outputs.create_pr == 'true' }}
29+ with :
30+ commit-message : Update nixpkgs
31+ title : ' Update nixpkgs'
32+ body : Update nixpkgs to the latest HEAD commit.
33+ labels : kind/ci, release-note-none, ok-to-test
34+ branch-suffix : timestamp
35+ branch : update-nixpkgs
36+ delete-branch : true
37+ signoff : true
Original file line number Diff line number Diff line change 99 pull_request :
1010env :
1111 GO_VERSION : ' 1.21'
12- NIX_VERSION : ' 2.15.1 '
12+ NIX_VERSION : ' 2.18.0 '
1313jobs :
1414 build :
1515 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -92,10 +92,12 @@ dependencies:
9292 match : ZEITGEIST_VERSION
9393
9494 - name : nix
95- version : 2.15.1
95+ version : 2.18.0
9696 refPaths :
9797 - path : .github/workflows/test.yml
9898 match : NIX_VERSION
99+ - path : .github/workflows/nixpkgs.yml
100+ match : NIX_VERSION
99101
100102 - name : bom
101103 version : 0.5.1
You can’t perform that action at this time.
0 commit comments