mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-20 17:29:39 +01:00
ci: schedule release flake lock updates (#7325)
Currently only running on the master branch. But, we can schedule on the release branch, as well. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
d400c36166
commit
951f0b30c5
1 changed files with 6 additions and 0 deletions
6
.github/workflows/update-flake.yml
vendored
6
.github/workflows/update-flake.yml
vendored
|
|
@ -9,6 +9,9 @@ jobs:
|
|||
update:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'schedule' || github.repository_owner == 'nix-community'
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [master, release-25.05]
|
||||
steps:
|
||||
- name: Create GitHub App token
|
||||
uses: actions/create-github-app-token@v2
|
||||
|
|
@ -31,6 +34,8 @@ jobs:
|
|||
} >> "$GITHUB_OUTPUT"
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
- name: Update flake.lock
|
||||
|
|
@ -53,3 +58,4 @@ jobs:
|
|||
|
||||
[update-flake-lock]: https://github.com/DeterminateSystems/update-flake-lock
|
||||
[${{ github.run_id }}]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
base-branch: ${{ matrix.branch }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue