You've already forked wakapi-readme-stats
Compare commits
4 Commits
522abb4492
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6421f74280 | |||
| 0eb7e758fd | |||
| 9a45778e72 | |||
| 779d9cefdd |
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Dependency review
|
||||
name: DEPENDENCY_REVIEW
|
||||
on: pull_request
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user