mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-21 23:02:20 +01:00
Update Git commit and push step to use verified-bot-commit action
This commit is contained in:
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@@ -34,11 +34,18 @@ jobs:
|
|||||||
command: bun run src/main.ts archive
|
command: bun run src/main.ts archive
|
||||||
- name: Format output data
|
- name: Format output data
|
||||||
run: bun x oxfmt output
|
run: bun x oxfmt output
|
||||||
- name: Git staging, commit, push
|
# - name: Git staging, commit, push
|
||||||
continue-on-error: true
|
# continue-on-error: true
|
||||||
run: |
|
# run: |
|
||||||
git config user.name "github-actions[bot]"
|
# git config user.name "github-actions[bot]"
|
||||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
# git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git add output
|
# git add output
|
||||||
git commit -m '[Auto] API update'
|
# git commit -m '[Auto] API update'
|
||||||
git push
|
# git push
|
||||||
|
- name: Git commit and push
|
||||||
|
uses: iarekylew00t/verified-bot-commit@v2
|
||||||
|
with:
|
||||||
|
message: "[Auto] API update"
|
||||||
|
files: |
|
||||||
|
output
|
||||||
|
if-no-commit: info
|
||||||
|
|||||||
Reference in New Issue
Block a user