Skip to content

Commit

Permalink
Update scriptsjson-generator.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wtffidy authored Jan 11, 2025
1 parent 4a9cd48 commit 7a9c894
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/scriptsjson-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,9 @@ jobs:

# === Step: Commit and Push Changes ===
- name: Git Auto Commit
# You may pin to the exact commit or the version.
# uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79
uses: stefanzweifel/[email protected]
with:
commit_message: 'Automatic commit by GitHub Actions' # Commit message for the auto-commit
files: 'scripts.json' # Specifies the file to commit
push: true # Pushes the changes to the repository
file_pattern: 'scripts.json' # Specifies the file to commit
push_options: '--force' # Force push to override remote changes

# - name: Send Discord notification
# run: |
# curl -X POST -H "Content-Type: application/json" \
# -d '{"content": "The JSON file has been successfully generated and committed!"}' \
# ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 7a9c894

Please sign in to comment.