-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |