diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2e09347e9..000000000 --- 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 c375d1752..81a249207 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: | diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..9c8aa739e --- /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!