From 2aa96c5ab88c2f3e8017aeaa6d7df8a16c37e70d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 06:28:34 +0000 Subject: [PATCH 1/3] Bump gautamkrishnar/keepalive-workflow from 1 to 2 Bumps [gautamkrishnar/keepalive-workflow](https://github.com/gautamkrishnar/keepalive-workflow) from 1 to 2. - [Release notes](https://github.com/gautamkrishnar/keepalive-workflow/releases) - [Commits](https://github.com/gautamkrishnar/keepalive-workflow/compare/v1...v2) --- updated-dependencies: - dependency-name: gautamkrishnar/keepalive-workflow dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/keep-alive.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/keep-alive.yml b/.github/workflows/keep-alive.yml index ddaa2ff..342e3f7 100644 --- a/.github/workflows/keep-alive.yml +++ b/.github/workflows/keep-alive.yml @@ -9,4 +9,4 @@ jobs: steps: - uses: actions/checkout@v4 - run: git checkout -b keep-alive - - uses: gautamkrishnar/keepalive-workflow@v1 + - uses: gautamkrishnar/keepalive-workflow@v2 From b76db3a89ec3e7d8116ccbe332ba046f9ff9e684 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 11 Mar 2024 08:53:09 +0100 Subject: [PATCH 2/3] Integrate keep-alive in normal workflow --- .github/workflows/check.yml | 8 +++++++- .github/workflows/keep-alive.yml | 12 ------------ 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 .github/workflows/keep-alive.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a48088d..461069c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -27,9 +27,11 @@ jobs: with: script: com.github.nbbrd.heylogs:heylogs-cli:0.7.1:bin scriptargs: "check CHANGELOG.md" + build: runs-on: ubuntu-latest - + permissions: + contents: write steps: - name: Check out code uses: actions/checkout@v4 @@ -100,3 +102,7 @@ jobs: cd /tmp unzip biblatex-lni.zip pkgcheck -d /tmp/biblatex-lni + + - name: keep alive + if: ${{ always() }} + uses: gautamkrishnar/keepalive-workflow@v2 diff --git a/.github/workflows/keep-alive.yml b/.github/workflows/keep-alive.yml deleted file mode 100644 index 342e3f7..0000000 --- a/.github/workflows/keep-alive.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Keep workflows enabled -on: - schedule: - - cron: "0 0 * * *" - workflow_dispatch: -jobs: - keep-alive: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: git checkout -b keep-alive - - uses: gautamkrishnar/keepalive-workflow@v2 From 45c16d1a95f1e724df66a865c9527f115dbc789a Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 11 Mar 2024 09:37:57 +0100 Subject: [PATCH 3/3] Use separate job --- .github/workflows/check.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 461069c..16a8c1b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -103,6 +103,11 @@ jobs: unzip biblatex-lni.zip pkgcheck -d /tmp/biblatex-lni - - name: keep alive - if: ${{ always() }} - uses: gautamkrishnar/keepalive-workflow@v2 + keepalive: + name: Keepalive + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: actions/checkout@v4 + - uses: gautamkrishnar/keepalive-workflow@v2