diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 76c1f0c..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Java Gradle CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-java/ for more details -# -version: 2 -jobs: - build: - docker: - # specify the version you desire here - - image: circleci/openjdk:8-jdk - - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 - - working_directory: ~/repo - - environment: - # Customize the JVM maximum heap limit - JVM_OPTS: -Xmx3200m - TERM: dumb - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "build.gradle" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: gradle dependencies - - - save_cache: - paths: - - ~/.gradle - key: v1-dependencies-{{ checksum "build.gradle" }} - - # run tests! - - run: gradle test diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 1997521..46f85ed 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -8,4 +8,9 @@ ":docker", "docker:pinDigests", ], + labels: [ + "renovate", + "renovate/{{replace '.*/' '' depName}}", + "renovate/{{updateType}}", + ], } diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..01645c9 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,43 @@ +name: Close stale issues and PRs +on: + workflow_dispatch: + schedule: + - cron: 30 1 * * * + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 + with: + # Number of days of inactivity before an issue becomes stale + days-before-stale: 60 + + # Number of days of inactivity before a stale issue is closed + days-before-close: 14 + + # Label to use when marking an issue as stale + stale-issue-label: stale + stale-pr-label: stale + + # Issues with these labels will never be considered stale + exempt-issue-labels: pinned,security,confirmed,planned,renovate + exempt-pr-labels: pinned,security,confirmed,planned,dependencies,renovate + + stale-issue-message: > + This issue has been automatically marked as stale because it has not had + activity in the last 60 days. It will be closed in two weeks if no further activity + occurs. Thank you for your contributions. + + close-issue-message: > + This issue has been automatically closed due to inactivity. If it + is still valid, please post a comment. + + stale-pr-message: > + This pull request has been automatically marked as stale because it has not had + activity in the last 60 days. It will be closed in two weeks if no further activity + occurs. Thank you for your contributions. + + close-pr-message: > + This pull request has been automatically closed due to inactivity. If it + is still valid, please post a comment.