Skip to content

Grid snake

Grid snake #4891

Workflow file for this run

name: Grid snake
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 */6 * * *' # Runs on the 0, 6, 12 and 18th hour.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: generate github-contribution-grid-snake.svg
uses: Platane/[email protected]
with:
github_user_name: hoangtien2k3
outputs: |
dist/grid-snake.svg
dist/grid-snake-dark.svg?palette=github-dark
env:
# a GitHub token is required to fetch the contribution calendar from GitHub API
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Pull
run: git pull origin main
- uses: stefanzweifel/[email protected]
with:
commit_message: "grid snake"
file_pattern: 'dist/*.svg'
commit_user_name: hoangtien2k3
commit_user_email: [email protected] # defaults to "github-actions[bot]@users.noreply.github.com"
commit_author: Hoàng Anh Tiến <[email protected]> # defaults to author of the commit that triggered the run