mirror of
https://github.com/lukaszraczylo/lolcathost.git
synced 2026-07-11 04:51:56 +00:00
fixup! fixup! Fix autoupdate workflow
This commit is contained in:
@@ -7,6 +7,7 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
actions: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
@@ -47,7 +48,14 @@ jobs:
|
|||||||
run: git config --global --add safe.directory /__w/lolcathost/lolcathost
|
run: git config --global --add safe.directory /__w/lolcathost/lolcathost
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
|
id: auto-commit
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "Update go.mod and go.sum"
|
commit_message: "Update go.mod and go.sum"
|
||||||
file_pattern: "go.mod go.sum"
|
file_pattern: "go.mod go.sum"
|
||||||
|
|
||||||
|
- name: Trigger release workflow
|
||||||
|
if: steps.auto-commit.outputs.changes_detected == 'true'
|
||||||
|
run: gh workflow run release.yml
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user