Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Create just.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
likhonsible authored Aug 14, 2024
1 parent 0bf89d3 commit d86afd1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/just.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Hourly Update

on:
schedule:
- cron: '0 * * * *'

jobs:
update-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Update README
run: |
echo "Last updated: $(date)" >> README.md
- name: Commit and push if changed
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add -A
git diff --quiet && git diff --staged --quiet || (git commit -m "Hourly update: $(date)"; git push)

0 comments on commit d86afd1

Please sign in to comment.