File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto Merge Dependency Updates
2
+ on :
3
+ - pull_request_target
4
+ jobs :
5
+ auto-merge-dependency-updates :
6
+ runs-on : ubuntu-latest
7
+ permissions :
8
+ contents : write
9
+ pull-requests : write
10
+ concurrency :
11
+ group : " auto-merge:${{ github.head_ref }}"
12
+ cancel-in-progress : true
13
+ steps :
14
+ - uses : Mic92/auto-merge@main
Original file line number Diff line number Diff line change
1
+ name : " Update flakes"
2
+ on :
3
+ repository_dispatch :
4
+ workflow_dispatch :
5
+ schedule :
6
+ - cron : " 51 2 * * 0"
7
+
8
+ jobs :
9
+ createPullRequest :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - name : Install Nix
14
+ uses : cachix/install-nix-action@v31
15
+ with :
16
+ extra_nix_config : |
17
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
18
+ - uses : actions/create-github-app-token@v1
19
+ id : app-token
20
+ with :
21
+ app-id : ${{ vars.CI_APP_ID }}
22
+ private-key : ${{ secrets.CI_APP_PRIVATE_KEY }}
23
+ - name : Update flakes
24
+ run : nix flake update
25
+ - name : Create Pull Request
26
+ uses : peter-evans/create-pull-request@v7
27
+ with :
28
+ title : Update flakes
29
+ token : ${{ steps.app-token.outputs.token }}
30
+ labels : |
31
+ auto-merge
You can’t perform that action at this time.
0 commit comments