You've already forked wakapi-readme-stats
fix: Update runner
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -29,11 +29,6 @@ jobs:
|
|||||||
- name: Create Assets Folder 📥
|
- name: Create Assets Folder 📥
|
||||||
run: mkdir assets
|
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 🧪
|
- name: Run Action Preview on Current Code 🧪
|
||||||
id: make-stats
|
id: make-stats
|
||||||
env:
|
env:
|
||||||
@@ -75,12 +70,4 @@ jobs:
|
|||||||
if: ${{ github.ref != 'refs/heads/main' }}
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
name: ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
|
name: ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
|
||||||
path: assets
|
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 }}
|
|
||||||
@@ -230,6 +230,7 @@ async def main():
|
|||||||
DBM.i("Managers initialized.")
|
DBM.i("Managers initialized.")
|
||||||
|
|
||||||
stats = await get_stats()
|
stats = await get_stats()
|
||||||
|
DBM.i(str(stats))
|
||||||
if not EM.DEBUG_RUN:
|
if not EM.DEBUG_RUN:
|
||||||
GHM.update_readme(stats)
|
GHM.update_readme(stats)
|
||||||
GHM.commit_update()
|
GHM.commit_update()
|
||||||
|
|||||||
Reference in New Issue
Block a user