From 0225d0411d7cb55d41e34e93ffa3d4fab9cb7ab8 Mon Sep 17 00:00:00 2001 From: lklimek <842586+lklimek@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:18:40 +0100 Subject: [PATCH] chore(github): tune stale and dependabot settings (#967) * chore(github): tune stale and dependabot settings * chore: run go tests whenever go.sum changes * chore: run e2e tests on go.sum change --- .github/dependabot.yml | 2 +- .github/workflows/e2e.yml | 1 + .github/workflows/stale.yml | 11 ++++++----- .github/workflows/tests.yml | 1 + 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 31f130e3c9..deaeb9e522 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ updates: directory: "/" schedule: interval: weekly - open-pull-requests-limit: 10 + open-pull-requests-limit: 5 # - package-ecosystem: npm # directory: "/docs" # schedule: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5d7f6f26de..470aa860a9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -8,6 +8,7 @@ on: paths: - "**Dockerfile" - "**.go" + - "go.sum" push: branches: - master diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1e16964c60..86b74651d1 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,11 +10,12 @@ jobs: - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: "This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions." + stale-pr-message: + "This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions." days-before-stale: -1 days-before-close: -1 - days-before-pr-stale: 10 - days-before-pr-close: 4 + days-before-pr-stale: 31 + days-before-pr-close: 16 exempt-pr-labels: "S:wip" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bba14e6053..51ff8c7687 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - "**.go" + - "go.sum" push: branches: - master