Skip to content

Commit

Permalink
Gotta update these actions!
Browse files Browse the repository at this point in the history
  • Loading branch information
ToddKerpelman committed Nov 14, 2023
1 parent 56c7c50 commit 25efdb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-assets-date.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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)

0 comments on commit 25efdb3

Please sign in to comment.