mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
ci: update checkout and update-flake-lock
https://github.com/DeterminateSystems/update-flake-lock/releases/tag/v28 updated with checkout v6 support. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
9
.github/workflows/update-flake.yml
vendored
9
.github/workflows/update-flake.yml
vendored
@@ -35,19 +35,14 @@ jobs:
|
||||
echo "email=$id+$name@users.noreply.github.com"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
- name: Checkout repository
|
||||
# NOTE: v6 is incompatible with update-flake-lock@v27 due to credential
|
||||
# storage changes. update-flake-lock uses peter-evans/create-pull-request@v6.0.5
|
||||
# which doesn't work with v6's $RUNNER_TEMP credential storage.
|
||||
# Can upgrade to v6 once update-flake-lock uses create-pull-request@v7.0.9+
|
||||
# See: https://github.com/peter-evans/create-pull-request/issues/690
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v27
|
||||
uses: DeterminateSystems/update-flake-lock@v28
|
||||
with:
|
||||
token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
|
||||
git-committer-name: ${{ steps.user-info.outputs.name || 'github-actions[bot]' }}
|
||||
|
||||
Reference in New Issue
Block a user