-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
38555d2
commit b2fae36
Showing
1 changed file
with
7 additions
and
8 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ name: Update Readme | |
on: | ||
schedule: | ||
- cron: "0 * * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-bot: | ||
|
@@ -30,11 +31,9 @@ jobs: | |
env: | ||
TOP_GG_TOKEN: ${{ secrets.TOP_GG_TOKEN }} | ||
- name: ☑️ Commit Changes | ||
run: | | ||
if [[ "$(git status --porcelain)" != "" ]]; then | ||
git config user.name binary-blazer | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "[➡️] Update Readme" | ||
git push -f | ||
fi | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "[➡️] Update Readme" | ||
branch: ${{ github.head_ref }} | ||
commit_user_name: binary-blazer | ||
commit_user_email: [email protected] |