Skip to content

LadangPetani

LadangPetani #4318

Workflow file for this run

name: LadangPetani
on:
push:
branches:
- master
schedule:
- cron: '0 7,0,11,18 * * *'
jobs:
auto_commit:
runs-on: ubuntu-latest
steps:
- name : global directory
run: git config --global --add safe.directory /github/workspace
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 1
- name: Modify last update
run: |
d=`date '+%Y-%m-%dT%H:%M:%SZ'`
echo $d > LAST_UPDATED
- name: Commit changes
run: |
git config --local user.email "adamibnu012@gmail.com"
git config --local user.name "Adamibnualfatahh"
git add -A
arr[0]="feat: πŸ˜‚ auto commit"
arr[1]="feat: 😱 auto commit"
arr[2]="feat: πŸ‘Ώ auto commit"
arr[3]="feat: πŸ’© auto commit"
arr[4]="feat: πŸ™ auto commit"
arr[5]="feat: πŸ™ˆ auto commit"
arr[6]="feat: 🐐 auto commit"
arr[7]="feat: πŸš€ auto commit"
rand=$[$RANDOM % ${#arr[@]}]
git commit -m "${arr[$rand]}"
- name: GitHub Push
uses: ad-m/github-push-action@v0.6.0
with:
force: true
directory: "."
github_token: ${{ secrets.GITHUB_TOKEN }}