GitHub-Profile-Summary-Cards #1335
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: GitHub-Profile-Summary-Cards | |
on: | |
schedule: # execute every 24 hours | |
- cron: "* */24 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: generate-github-profile-summary-cards | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: vn7n24fzkq/github-profile-summary-cards@release | |
env: # default use ${{ secrets.SUMMARY_GITHUB_TOKEN }}, you should replace with your personal access token | |
GITHUB_TOKEN: ${{ secrets.SUMMARY_GITHUB_TOKEN }} | |
with: | |
USERNAME: ${{ github.repository_owner }} | |
# BRANCH_NAME is optional, default to main, branch name to push cards | |
BRANCH_NAME: "main" | |
# UTC_OFFSET is optional, default to zero | |
UTC_OFFSET: 9 | |
# EXCLUDE is an optional comma seperated list of languages to exclude, defaults to "" | |
EXCLUDE: "" | |
# AUTO_PUSH is optional, a boolean variable default to true, whether automatically push generated files to desired branch | |
AUTO_PUSH: true |