Skip to content

Commit bee3ba9

Browse files
author
Anonymous Committer
committed
feat: add auto-commit.yml
1 parent 0d676f5 commit bee3ba9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/auto-commit.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
schedule:
8+
- cron: "* * * * *"
9+
10+
jobs:
11+
autogreen:
12+
if: github.repository == 'justoneapi/justoneapi-python'
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: write
17+
18+
steps:
19+
- name: Clone repository
20+
uses: actions/checkout@v3
21+
22+
- name: Auto commit
23+
run: |
24+
git config --local user.name "Anonymous Committer"
25+
git config --local user.email "anonymous@users.noreply.github.com"
26+
git commit --allow-empty -m "chore: auto empty commit at $(date)"
27+
git push

0 commit comments

Comments
 (0)