Skip to content

Commit 800ccc2

Browse files
committed
add whitespace bot
1 parent af10380 commit 800ccc2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Push commit
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 1 * *" # At 00:00 UTC on the 1st of every month
6+
permissions:
7+
contents: write
8+
jobs:
9+
whitespace:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Append to whitespace database
14+
run: echo -n " " >> whitespace.txt
15+
- name: Commit report
16+
run: |
17+
git config --global user.name 'White Space Bot'
18+
git config --global user.email 'whitespace[bot]@users.noreply.github.com'
19+
git add whitespace.txt
20+
git commit -am "Automated update"
21+
git push

0 commit comments

Comments
 (0)