We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f7b3b5 commit 3523fb9Copy full SHA for 3523fb9
1 file changed
.github/workflows/update-flake.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches: [master]
6
paths: [go.sum]
7
+ workflow_dispatch:
8
9
jobs:
10
update:
@@ -18,9 +19,18 @@ jobs:
18
19
20
- name: Commit changes
21
run: |
- git diff --quiet flake.lock && exit 0
22
+
23
+ - name: Configure Git
24
+ run: |
25
git config user.name "github-actions[bot]"
26
git config user.email "github-actions[bot]@users.noreply.github.com"
- git add flake.lock
- git commit -m "chore: update flake.lock [skip ci]"
- git push
27
28
+ - name: Push changes
29
+ env:
30
+ GH_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
31
32
+ git diff --quiet flake.lock && exit 0`
33
+ git add .
34
+ git commit -m "chore: update flake.lock (#228)"
35
+ git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git
36
+ git push origin HEAD:${GITHUB_REF}
0 commit comments