Skip to content

Commit

Permalink
Add bumpfile config
Browse files Browse the repository at this point in the history
  • Loading branch information
glasnt committed Jan 5, 2023
1 parent 41138b8 commit 49796d6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/bumpfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: bumpfile

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

# manual
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get time
run: echo "NOW=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV
- name: write time
run: echo $NOW > .bumpfile
- name: save time
run: |
git diff
git config --global user.email "[email protected]"
git config --global user.name "BumpFile-bot"
git add -A
git commit -m "🤖 Bumped bumpfile" || exit 0
git push

0 comments on commit 49796d6

Please sign in to comment.