mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
Added github workflow actions to auto update flake.lock daily
This commit is contained in:
parent
20ff70c57f
commit
656a777a88
3 changed files with 67 additions and 3 deletions
23
.github/dependabot.yml
vendored
Normal file
23
.github/dependabot.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"updates": [
|
||||||
|
{
|
||||||
|
"package-ecosystem": "github-actions",
|
||||||
|
"directory": "/",
|
||||||
|
"schedule": {
|
||||||
|
"interval": "daily",
|
||||||
|
"time": "04:00"
|
||||||
|
},
|
||||||
|
"open-pull-requests-limit": 10,
|
||||||
|
"reviewers": [
|
||||||
|
"Gerg-L"
|
||||||
|
],
|
||||||
|
"assignees": [
|
||||||
|
"Gerg-L"
|
||||||
|
],
|
||||||
|
"labels": [
|
||||||
|
"CI"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
41
.github/workflows/flake-update.yml
vendored
Normal file
41
.github/workflows/flake-update.yml
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"name": "flake-update",
|
||||||
|
"on": {
|
||||||
|
"workflow_dispatch": null,
|
||||||
|
"schedule": [
|
||||||
|
{
|
||||||
|
"cron": "0 1 * * *"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"jobs": {
|
||||||
|
"lockfile": {
|
||||||
|
"runs-on": "ubuntu-latest",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"name": "checkout",
|
||||||
|
"uses": "actions/checkout@v3.5.3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "install",
|
||||||
|
"uses": "DeterminateSystems/nix-installer-action@v4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "update",
|
||||||
|
"uses": "DeterminateSystems/update-flake-lock@v19",
|
||||||
|
"with": {
|
||||||
|
"pr-title": "Update flake.lock",
|
||||||
|
"pr-labels": "CI"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "merge",
|
||||||
|
"run": "gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch\n",
|
||||||
|
"env": {
|
||||||
|
"GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -74,11 +74,11 @@
|
||||||
},
|
},
|
||||||
"master": {
|
"master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1688939778,
|
"lastModified": 1688946397,
|
||||||
"narHash": "sha256-RrP6VIhCPPWatKY3Kv+aZ/Vsfl8ihHQlDZGfKwL8YdI=",
|
"narHash": "sha256-Mixnpq8GKFOFYBfMIBqwPEV3zCn9gGlxkRQuNFvG/vo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1ffc00aa22e393d3b16e6c642c639bb98f007ae5",
|
"rev": "198d11ecbe75de3a7f92634850ca8d83cfe0c61c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue