From cfe5de7b97be831b45735491d2da6d2a1908123c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2020 07:05:07 +0000 Subject: [PATCH 1/2] Bump actions/stale from v3.0.13 to v3.0.14 (#446) Bumps [actions/stale](https://github.com/actions/stale) from v3.0.13 to v3.0.14. - [Release notes](https://github.com/actions/stale/releases) - [Commits](https://github.com/actions/stale/compare/v3.0.13...87c2b794b9b47a9bec68ae03c01aeb572ffebdb1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 789971e50..0a5751853 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,7 +8,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3.0.13 + - uses: actions/stale@v3.0.14 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: "This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days" From 7acf5152583edabb66a1eca94d8b4d4448d675aa Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Mon, 23 Nov 2020 20:51:58 +0800 Subject: [PATCH 2/2] Refine GitHub workflows running condition (#447) --- .github/workflows/codeql-analysis.yml | 7 +++---- .github/workflows/coverage.yml | 4 +++- .github/workflows/deb.yml | 4 +++- .github/workflows/linter.yml | 5 +++-- .github/workflows/test.yml | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bd8d534b7..7ad399ddd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,16 +2,15 @@ name: CodeQL on: push: - branches: [master] + branches: + - master + - v* paths: - "**/*.go" pull_request: - branches: [master] types: [opened, synchronize, reopened] paths: - "**/*.go" - schedule: - - cron: '0 0 * * 1' jobs: analyze: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 35ce5168b..955f16a6b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,7 +2,9 @@ name: Coverage on: push: - branches: [master] + branches: + - master + - v* paths: - "**/*.go" diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml index d0bad2b37..feec64cd1 100644 --- a/.github/workflows/deb.yml +++ b/.github/workflows/deb.yml @@ -2,7 +2,9 @@ name: Build debian packages on: push: - branches: [master] + branches: + - master + - v* paths: - "**/*.go" release: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5c056482f..fd2faec37 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -2,11 +2,12 @@ name: Linter on: push: - branches: [master] + branches: + - master + - v* paths: - "**/*.go" pull_request: - branches: [master] types: [opened, synchronize, reopened] paths: - "**/*.go" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd5fdc309..42cb5977a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,13 +2,14 @@ name: Test on: push: - branches: [master] + branches: + - master + - v* paths: - "**/*.go" - "go.mod" - "go.sum" pull_request: - branches: [master] types: [opened, synchronize, reopened] paths: - "**/*.go"