ad_infinitum #237597
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 50377477+supertask-bot+caretak3r@users.noreply.github.com | |
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 }} |