From 8e5afad53857f8697a153784c7cd11afac4075da Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 18 Oct 2024 13:13:35 +0200 Subject: [PATCH 1/5] Using upload_failure_logs.py (not .sh) --- .github/workflows/{releaseNigthly.yml => cd.yml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{releaseNigthly.yml => cd.yml} (99%) diff --git a/.github/workflows/releaseNigthly.yml b/.github/workflows/cd.yml similarity index 99% rename from .github/workflows/releaseNigthly.yml rename to .github/workflows/cd.yml index e9bd2b99..e55e67a3 100644 --- a/.github/workflows/releaseNigthly.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: Release&Nigthly +name: CD on: push: @@ -172,7 +172,7 @@ jobs: BINTRAY_PASS: ${{secrets.bintray_pass}} - name: Upload failure logs if: failure() - run: $HOME/kiwix-build/.github/scripts/upload_failure_logs.sh + run: $HOME/kiwix-build/.github/scripts/upload_failure_logs.py env: COMPILE_CONFIG: ${{matrix.config}} @@ -217,7 +217,7 @@ jobs: kiwix-build/.github/scripts/build_release_nightly.py - name: Upload failure logs if: failure() - run: $HOME/kiwix-build/.github/scripts/upload_failure_logs.sh + run: $HOME/kiwix-build/.github/scripts/upload_failure_logs.py Macos: strategy: @@ -296,7 +296,7 @@ jobs: COMPILE_CONFIG: ${{matrix.config}} - name: Upload failure logs if: failure() - run: $GITHUB_WORKSPACE/.github/scripts/upload_failure_logs.sh + run: $GITHUB_WORKSPACE/.github/scripts/upload_failure_logs.py env: COMPILE_CONFIG: ${{matrix.config}} From 7aba1ddcb9171eb6974bab60acc68cb6047fafb4 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 18 Oct 2024 13:22:36 +0200 Subject: [PATCH 2/5] FUNDING.yml is provide via .github repo --- .github/FUNDING.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index f39dc2a9..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: kiwix # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # https://kiwix.org/support-us/ From be5fe08dfc340692abe6f9aa9117ea46b7039867 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 18 Oct 2024 13:23:44 +0200 Subject: [PATCH 3/5] Stalebot is deprecated --- .github/stale.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 08a39310..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,15 +0,0 @@ -daysUntilClose: false -staleLabel: stale - -issues: - daysUntilStale: 60 - markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be now be reviewed manually. Thank you - for your contributions. -pulls: - daysUntilStale: 7 - markComment: > - This pull request has been automatically marked as stale because it has not had - recent activity. It will be now be reviewed manually. Thank you - for your contributions. From 0b8919d9197b39755a3639ca0d37cba1c9caaf75 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 18 Oct 2024 13:46:47 +0200 Subject: [PATCH 4/5] Use actions/checkout@v4 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e55e67a3..8de8b7e1 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -23,7 +23,7 @@ jobs: HOME: 'C:\\Users\\runneradmin' steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python 3.12 uses: actions/setup-python@v3 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58db577d..1424ee64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: HOME: 'C:\\Users\\runneradmin' steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python 3.12 uses: actions/setup-python@v3 with: From e8a792479437c92395691798ee289203e089a3f8 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Fri, 18 Oct 2024 13:53:08 +0200 Subject: [PATCH 5/5] Use actions/setup-python@v5 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8de8b7e1..dfbea193 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Setup python 3.12 - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install packages diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1424ee64..5842db04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Setup python 3.12 - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install packages