mirror of
https://github.com/LukeHagar/stats-action.git
synced 2025-12-10 04:21:37 +00:00
Update update-stats.yaml
This commit is contained in:
78
.github/workflows/update-stats.yaml
vendored
78
.github/workflows/update-stats.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user