Skip to content

Lav

Lav #18188

Workflow file for this run

name: Lav
on:
push:
branches:
- master
schedule:
- cron: "*/15 * * * *" # See https://crontab.guru/#0_7,9,11_*_*_1,3
jobs:
auto_commit:
runs-on: ubuntu-latest
steps:
- name: DEBUG
run: echo "::debug::Ref = ${{github.ref}}"
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: run sh
run: |
chmod +x run.sh
./run.sh
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "cise17"
git add -A
arr[0]="🟒 auto commit"
arr[1]="🟠 auto commit"
arr[2]="🟑 auto commit"
arr[3]="πŸ”΅ auto commit"
arr[4]="🟣 auto commit"
arr[5]="⚫️ auto commit"
arr[6]="βšͺ️ auto commit"
arr[7]="🟀 auto commit"
arr[8]="πŸ”΄ auto commit"
rand=$[$RANDOM % ${#arr[@]}]
git commit -m "${arr[$rand]}"
- name: GitHub Push
uses: ad-m/[email protected]
with:
directory: "."
github_token: ${{ secrets.GITHUB_TOKEN }}