From b2a311f4f1bc4f7c05584b76a3de7050a6764d63 Mon Sep 17 00:00:00 2001 From: Mario Apra Date: Mon, 21 Oct 2024 17:14:47 +0100 Subject: [PATCH 1/2] Add workflow to close stale issues and PRs Introduce a GitHub Actions workflow to automatically close stale issues and pull requests. This helps maintain repository hygiene by reducing clutter from inactive items. The workflow marks issues as stale after 60 days of inactivity and closes them 14 days later if no further activity occurs. The issues and PRs that have a milestone assigned will not be looked at by the bot. This means that it is still possible to plan work that won't be worked for some time. Also, if the tag 'no-stale' is present, it will also be ignored. --- .github/workflows/close-stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/close-stale.yml diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml new file mode 100644 index 0000000000..f8fb3e1b5f --- /dev/null +++ b/.github/workflows/close-stale.yml @@ -0,0 +1,23 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '0 0 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 35 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + stale-pr-message: 'This pull request is stale because it has been open 35 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + days-before-stale: 60 + days-before-close: 14 + exempt-all-milestones: true + exempt-issue-labels: no-stale + exempt-pr-labels: no-stale + delete-branch: true From e29c21761e90c855e6e00591a6c8fd0c44022113 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 13:20:12 +0100 Subject: [PATCH 2/2] Bump ubuntu from 24.10 to 25.04 (#2269) Bumps ubuntu from 24.10 to 25.04. --- updated-dependencies: - dependency-name: ubuntu dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb6e537a46..838507fe80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build golang dependencies and binaries -FROM ubuntu:24.10 AS build +FROM ubuntu:25.04 AS build ARG VM_DEBUG @@ -20,7 +20,7 @@ RUN bash -c 'source ~/.cargo/env && VM_DEBUG=${VM_DEBUG} make juno' RUN upx-ucl /app/build/juno # Stage 2: Build Docker image -FROM ubuntu:24.10 AS runtime +FROM ubuntu:25.04 AS runtime RUN apt-get update && apt-get install -y ca-certificates curl gawk grep libjemalloc-dev libjemalloc2