From 9b07044993b20d76b952d12575fde4a163d1f187 Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Sun, 7 Jan 2024 12:14:17 +0300 Subject: [PATCH 1/2] Added stale workflow --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..3f45c219 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: > + This issue 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: 60 + days-before-close: 7 + stale-issue-label: stale + exempt-issue-labels: + - new-feature + - bug + - improvement + - docs + - go + - javascript + - on-hold + - question + - security + - WIP From 3a5014239e009a0d2d32538abf75fe4a5c919d0e Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Sun, 7 Jan 2024 12:14:34 +0300 Subject: [PATCH 2/2] Bump Golang to 1.21.5 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 3 +-- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3808d91..9e1100ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: Set Golang uses: actions/setup-go@v4 with: - go-version: ~1.20.4 + go-version: ~1.21.5 - uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acb23624..ea25c5ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,7 @@ jobs: - name: Set Golang uses: actions/setup-go@v2 with: - go-version: ~1.20.4 - + go-version: ~1.21.5 - uses: actions/cache@v3 with: path: ~/go/pkg/mod diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6acfcf89..ee91e668 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: - name: Set Golang uses: actions/setup-go@v4 with: - go-version: ~1.20.4 + go-version: ~1.21.5 - uses: actions/cache@v3 with: