-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from plaid/tk_workflow_fix
Gotta update these actions!
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Update Transaction Dates for Assets Users | |
|
||
on: | ||
schedule: | ||
- cron: '30 0 * * *' # Runs at 00:30 UTC every day. | ||
- cron: "30 0 * * *" # Runs at 00:30 UTC every day. | ||
workflow_dispatch: # Allows you to manually run this workflow from the Actions tab | ||
|
||
jobs: | ||
|
@@ -11,12 +11,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
python-version: "3.x" | ||
|
||
- name: Run the script to update the date | ||
run: python assets/update_date.py | ||
|
@@ -25,4 +25,4 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "ToddBot" | ||
git diff --quiet || (git commit -am "Auto-update dates" && git push) | ||
git diff --quiet || (git commit -am "Auto-update dates" && git push) |