From 759d3904bf306d2fc21a6a109f91807cd13f7a3f Mon Sep 17 00:00:00 2001 From: Drew Smirnoff Date: Mon, 9 Mar 2026 17:02:57 +0400 Subject: [PATCH] ci: fixes typo in the flake update workflow (#255) --- .github/workflows/update-flake.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index 14902d72e69bdccb071ec83227231dcad5454b5d..a551f50e5dd597ef5840fe75f98c132435230e31 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -17,19 +17,13 @@ jobs: - name: Update flake.lock run: nix flake update - - name: Commit changes - run: | - - - name: Configure Git - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - - name: Push changes + - name: Commit and push changes env: GH_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} run: | - git diff --quiet flake.lock && exit 0` + git diff --quiet flake.lock && exit 0 + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" git add . git commit -m "chore: update flake.lock (#228)" git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git