From 1f40d2859ba69d3cea9fea9df433b2e87563adb1 Mon Sep 17 00:00:00 2001 From: Ko van der Sloot Date: Thu, 16 Nov 2023 08:47:24 +0100 Subject: [PATCH] merged actions updates from newapi branch --- .github/workflows/cleanup.yml | 19 +++++++++++++++++++ .github/workflows/colibri-core-python.yml | 8 ++++---- .github/workflows/colibri-core.yml | 8 ++++---- 3 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/cleanup.yml diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml new file mode 100644 index 0000000..99d4b40 --- /dev/null +++ b/.github/workflows/cleanup.yml @@ -0,0 +1,19 @@ +name: Delete old workflow runs +on: + schedule: + - cron: '0 0 1 * *' +# Run monthly, at 00:00 on the 1t day of month. (testing) + +jobs: + del_runs: + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - name: Delete workflow runs + uses: Mattraks/delete-workflow-runs@v2 + with: + token: ${{ github.token }} + repository: ${{ github.repository }} + retain_days: 30 + keep_minimum_runs: 6 diff --git a/.github/workflows/colibri-core-python.yml b/.github/workflows/colibri-core-python.yml index aabebdc..db9066f 100644 --- a/.github/workflows/colibri-core-python.yml +++ b/.github/workflows/colibri-core-python.yml @@ -17,7 +17,7 @@ jobs: name: Notify start to ##gitlama steps: - name: IRC notification - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama' @@ -33,7 +33,7 @@ jobs: compiler: [g++] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Build Environment run: | if [ "$RUNNER_OS" == "Linux" ]; then @@ -72,7 +72,7 @@ jobs: - name: Notify IRC of failure if: ${{ failure() }} - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama' @@ -81,7 +81,7 @@ jobs: - name: Notify IRC of success if: ${{ success() }} - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama' diff --git a/.github/workflows/colibri-core.yml b/.github/workflows/colibri-core.yml index 73ad9cd..02c93ad 100644 --- a/.github/workflows/colibri-core.yml +++ b/.github/workflows/colibri-core.yml @@ -14,7 +14,7 @@ jobs: name: Notify start to ##gitlama steps: - name: IRC notification - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama' @@ -30,7 +30,7 @@ jobs: compiler: [g++] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Build Environment run: | if [ "$RUNNER_OS" == "Linux" ]; then @@ -54,7 +54,7 @@ jobs: - name: Notify IRC of failure if: ${{ failure() }} - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama' @@ -63,7 +63,7 @@ jobs: - name: Notify IRC of success if: ${{ success() }} - uses: Gottox/irc-message-action@v1 + uses: Gottox/irc-message-action@v2 with: server: irc.uvt.nl channel: '#gitlama'