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