Skip to content

Auto Update CI

Auto Update CI #295

Workflow file for this run

name: Auto Update CI
on:
schedule:
- cron: "0 0 * * SUN"
push:
branches:
- master
paths:
- 'list.txt'
- 'list2md.cr'
- 'README.ecr'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:nightly-alpine
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Crystal Script
run: crystal list2md.cr
- name: Commit & Push
env:
USER: github-actions[bot]
EMAIL: github-actions[bot]@users.noreply.github.com
run: |
git config --global --add safe.directory /__w/crystal-web-framework-stars/crystal-web-framework-stars
git status
git remote -v
git config user.email $EMAIL
git config user.name $USER
git checkout master
git add README.md list.json
git commit -m "Auto update"
git push