From 951f0b30c535a46817aa5ef4c66ddc4445f3e324 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 24 Jun 2025 14:54:56 -0500 Subject: [PATCH] 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 --- .github/workflows/update-flake.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index 81518ddf2..40af9e634 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -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 }}