From 779d9cefdde85358dab6c00a188d09583bce7e03 Mon Sep 17 00:00:00 2001 From: Fran Date: Sun, 3 Nov 2024 21:03:05 -0500 Subject: [PATCH 1/3] fix: Update CI pipeline --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d31243..c8d68fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,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,7 +72,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 -- 2.49.1 From 9a45778e7255e1d921f3aaae4c3ccd5969871807 Mon Sep 17 00:00:00 2001 From: Fran Date: Sun, 3 Nov 2024 21:05:11 -0500 Subject: [PATCH 2/3] fix: Update action.yml --- .github/workflows/dependency-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index ad57d14..2c12bb7 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,4 +1,4 @@ -name: Dependency review +name: DEPENDENCY_REVIEW on: pull_request permissions: -- 2.49.1 From 0eb7e758fd53443c428f001638b357838f0ae51b Mon Sep 17 00:00:00 2001 From: Fran Date: Sun, 3 Nov 2024 22:33:21 -0500 Subject: [PATCH 3/3] fix: Update runner --- .github/workflows/ci.yml | 15 +-------------- sources/main.py | 1 + 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8d68fd..efa8d57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -75,12 +70,4 @@ jobs: 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 \ No newline at end of file diff --git a/sources/main.py b/sources/main.py index 74fea10..97d9e42 100644 --- a/sources/main.py +++ b/sources/main.py @@ -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() -- 2.49.1