mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
Update GitHub Actions workflow for flake inputs
This commit is contained in:
9
.github/workflows/update.yml
vendored
9
.github/workflows/update.yml
vendored
@@ -1,17 +1,20 @@
|
|||||||
name: Update flake inputs
|
name: Update flake inputs
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 3 * * 0' # every Sunday at 3:30
|
- cron: '30 3 * * 0'
|
||||||
workflow_dispatch: # allow manual trigger
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write # needed to push the branch
|
||||||
|
pull-requests: write # needed to create the PR
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- name: Update flake inputs
|
- name: Update flake inputs
|
||||||
run: nix flake update
|
run: nix flake update
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user