From 96eb9841b9e9da24019856126d0c07b1da93d370 Mon Sep 17 00:00:00 2001 From: Bob van de Vijver Date: Fri, 19 Dec 2025 00:05:36 +0100 Subject: [PATCH 1/2] Add stale workflow --- .github/workflows/stale.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..9c8aa739 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,42 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: Close stale issues and PRs + +on: + schedule: + - cron: '0 7 * * *' + +permissions: { } + +concurrency: + group: close-stale-${{ github.ref }} + cancel-in-progress: true + +jobs: + stale: + name: Close stale issues and PRs + runs-on: ubuntu-24.04 + permissions: + actions: write + issues: write + pull-requests: write + steps: + - uses: actions/stale@v10.1.0 + with: + sort-by: updated + ascending: true # Start with ascending to process oldest items first + days-before-stale: 60 + days-before-close: 30 + exempt-all-milestones: true + stale-issue-message: >- + In an effort to keep our issue list manageable, we are marking this issue as stale because it has been 60 days without activity. + If this issue is still relevant, please let us know by posting a quick comment so that it remains open. + close-issue-message: >- + This issue was closed because it has been stalled for 90 days with no activity. + Feel free to open a new issue if necessary! + stale-pr-message: >- + In an effort to keep our pull request list manageable, we are marking this PR as stale because it has been 60 days without activity. + If this PR is still relevant, please let us know by posting a quick comment or update so that it can be assigned and hopefully merged. + close-pr-message: >- + This PR was closed because it has been stalled for 90 days with no activity. + Feel free to open a new PR if necessary! From 0e6dad1ba7da18e965fda53d51fa21083cafa4ce Mon Sep 17 00:00:00 2001 From: Bob van de Vijver Date: Fri, 19 Dec 2025 00:05:36 +0100 Subject: [PATCH 2/2] Update code analysis --- .github/FUNDING.yml | 4 ---- .github/workflows/ci.yml | 7 +++++-- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2e09347e..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -# You can sponsor Bob for his work on Bolt and related packages: -# https://github.com/users/bobdenotter/sponsorship - -github: bobdenotter diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c375d175..81a24920 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,9 @@ name: Continuous Integration on: [pull_request] +env: + COMPOSER_CACHE_DIR: /tmp/composer-cache + jobs: test-install-with-composer-and-sqlite: @@ -36,7 +39,7 @@ jobs: - name: Cache Composer dependencies uses: actions/cache@v4 with: - path: /tmp/composer-cache + path: ${{ env.COMPOSER_CACHE_DIR }} key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }} - name: Install Symfony Flex run: | @@ -114,7 +117,7 @@ jobs: - name: Cache Composer dependencies uses: actions/cache@v4 with: - path: /tmp/composer-cache + path: ${{ env.COMPOSER_CACHE_DIR }} key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }} - name: Install Symfony Flex run: |