GitHub-Profile-3D-Contrib #322
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-3D-Contrib | |
on: | |
schedule: # 03:00 CST == 21:00 UTC | |
- cron: "0 21 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: generate-github-profile-3d-contrib | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: PrimeEagle/github-profile-3d-contrib@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.PROFILE_3D_CONTRIB_TOKEN }} | |
USERNAME: ${{ github.repository_owner }} | |
MAX_LANGUAGES: 12 | |
IGNORE_LANGUAGES: "Visual Basic.NET,Visual Basic 6.0,VBA,ASP.NET,Smalltalk,Batchfile,XSLT,TSQL,HTML,CSS,ShaderLab,HLSL,Classic ASP,Shell,GLSL,AutoIt" | |
- name: Commit & Push | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add -A . | |
git diff --staged --exit-code || (git commit -m "generated" && git push) |