Update update-stats.yaml

This commit is contained in:
Luke Hagar
2024-03-02 11:58:25 -05:00
parent 5d37e9a4f7
commit a86b0e670f

View File

@@ -1,45 +1,45 @@
name: GitHub Profile Stats # name: GitHub Profile Stats
# on: # # on:
# push: # # push:
# branches: # # branches:
# - main # # - main
# schedule: # # schedule:
# # run everyday at 12:00 UTC # # # run everyday at 12:00 UTC
# - cron: "0 12 * * *" # # - cron: "0 12 * * *"
# workflow_dispatch: # # workflow_dispatch:
permissions: # permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the # # Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository. # # added or changed files to the repository.
contents: write # contents: write
jobs: # jobs:
Collect-GitHub-Stats: # Collect-GitHub-Stats:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
concurrency: # concurrency:
group: stats-concurrency # group: stats-concurrency
cancel-in-progress: true # cancel-in-progress: true
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: actions/setup-node@v2 # - uses: actions/setup-node@v2
with:
node-version: "20"
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install
- name: Run build
uses: borales/actions-yarn@v5
with:
cmd: build
- uses: ./
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# with: # with:
# node-version: "20"
- uses: stefanzweifel/git-auto-commit-action@v5 # - name: Run install
# uses: borales/actions-yarn@v5
# with:
# cmd: install
# - name: Run build
# uses: borales/actions-yarn@v5
# with:
# cmd: build
# - uses: ./
# env:
# GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# # with:
# - uses: stefanzweifel/git-auto-commit-action@v5