-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (40 loc) · 1.12 KB
/
life.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: ad_infinitum
on:
schedule:
- cron: '*/5 * * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Setup
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
-
name: Install
run: |
python -m pip install commit-entropy
-
name: Create
run: |
git pull
echo ">datetime: $(date) | task_num: $(git rev-list HEAD --count) | entropy: $(commit-entropy csv | awk -F',' 'NR == 2 { print $2 }' *.csv)" >> changelog.md
echo "" >> changelog.md
git config --global user.email [email protected]
git config --global user.name 'caretak3r[supertask-bot]'
git add changelog.md
git commit -m "task: life←{↑1 ω∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂ω}"
-
name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}