Compare commits

..

4 Commits

Author SHA1 Message Date
6421f74280 Merge pull request 'fix: Update CI pipeline' (#2) from ci into main
Some checks failed
CODESTYLE / Run codestyle check (push) Successful in 38s
PUBLISH_IMAGE / Publish 'waka-readme-stats' image (push) Has been cancelled
CodeQL / Analyze (python) (push) Has started running
Reviewed-on: #2
2024-11-03 19:53:06 -08:00
0eb7e758fd fix: Update runner
All checks were successful
CODESTYLE / Run codestyle check (push) Successful in 58s
CI / Run Test and Review PR (pull_request) Successful in 14m32s
2024-11-03 22:33:21 -05:00
9a45778e72 fix: Update action.yml
Some checks failed
CODESTYLE / Run codestyle check (push) Successful in 1m35s
CI / Run Test and Review PR (pull_request) Failing after 8m1s
2024-11-03 21:05:11 -05:00
779d9cefdd fix: Update CI pipeline
Some checks are pending
CODESTYLE / Run codestyle check (push) Waiting to run
2024-11-03 21:03:05 -05:00
3 changed files with 5 additions and 17 deletions

View File

@@ -29,11 +29,6 @@ jobs:
- name: Create Assets Folder 📥
run: mkdir assets
- name: Create Previous Comments 🫣
uses: https://github.com/int128/hide-comment-action@v1
with:
starts-with: "README stats current output:"
- name: Run Action Preview on Current Code 🧪
id: make-stats
env:
@@ -62,7 +57,7 @@ jobs:
run: python3 sources/main.py
- name: Save Branch Name Without Slashes 📛
if: ${{ github.ref != 'refs/heads/master' }}
if: ${{ github.ref != 'refs/heads/main' }}
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
@@ -72,15 +67,7 @@ jobs:
- name: Upload Artifact 📦
uses: https://github.com/actions/upload-artifact@v3
if: ${{ github.ref != 'refs/heads/master' }}
if: ${{ github.ref != 'refs/heads/main' }}
with:
name: ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
path: assets
- name: Create Comment 💬
uses: https://github.com/jungwinter/comment@v1
with:
type: create
body: ${{ steps.make-stats.outputs.README_CONTENT }}
issue_number: ${{ github.event.number }}
token: ${{ secrets.GITHUB_TOKEN }}
path: assets

View File

@@ -1,4 +1,4 @@
name: Dependency review
name: DEPENDENCY_REVIEW
on: pull_request
permissions:

View File

@@ -230,6 +230,7 @@ async def main():
DBM.i("Managers initialized.")
stats = await get_stats()
DBM.i(str(stats))
if not EM.DEBUG_RUN:
GHM.update_readme(stats)
GHM.commit_update()