Generate Data #4117
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: Generate Data | |
on: | |
# Schedule daily updates | |
schedule: [{cron: "*/30 * * * *"}] | |
# (optional) Run workflow manually | |
workflow_dispatch: | |
# Run workflow when pushing on main | |
push: | |
branches: ["main"] | |
jobs: | |
github-metrics: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run deno run action | |
run: deno task run | |
- name: Run deno fmt action | |
run: deno task fmt | |
# auto-commit suggestions | |
- uses: stefanzweifel/git-auto-commit-action@v4 |