From 3103cfb4ada8d888be962b60aef89748ebe470e4 Mon Sep 17 00:00:00 2001 From: OpenWaygate <27287694+OpenWaygate@users.noreply.github.com> Date: Tue, 12 Aug 2025 00:06:02 +0800 Subject: [PATCH] :construction_worker: Upgrade ci steps' version --- .github/actions/github-packages/action.yml | 2 +- .github/release.yml | 15 --------------- .github/workflows/codeql.yml | 2 +- .github/workflows/greetings.yml | 2 +- .github/workflows/publish.yml | 14 +------------- .github/workflows/stale.yml | 2 +- .github/workflows/test.yml | 2 +- 7 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 .github/release.yml diff --git a/.github/actions/github-packages/action.yml b/.github/actions/github-packages/action.yml index 4d130af..0bbfe4d 100644 --- a/.github/actions/github-packages/action.yml +++ b/.github/actions/github-packages/action.yml @@ -4,7 +4,7 @@ description: Release to GitHub Packages runs: using: composite steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: sparse-checkout: | Dockerfile diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 59e5f7d..0000000 --- a/.github/release.yml +++ /dev/null @@ -1,15 +0,0 @@ -# .github/release.yml - -changelog: - categories: - - title: 🏕 Features - labels: - - '*' - exclude: - labels: - - dependencies - - duplicate - - invalid - - title: 👒 Dependencies - labels: - - dependencies diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 19297a4..304759c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -58,7 +58,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index e25968c..47fb5ce 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write steps: - - uses: actions/first-interaction@v1.3.0 + - uses: actions/first-interaction@v3 with: repo-token: ${{ github.token }} issue-message: "Welcome to yutu, thank you for opening your first issue!" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dacf635..4a92407 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - uses: actions/setup-go@v5 @@ -73,18 +73,6 @@ jobs: token: ${{ secrets.RELEASE_PAT }} max-versions-to-keep: 3 - homebrew: - needs: [goreleaser] - runs-on: macos-latest - if: false - steps: - - uses: dawidd6/action-homebrew-bump-formula@v4 - with: - token: ${{ secrets.RELEASE_PAT }} - tag: ${{ github.event.release.tag_name }} - org: eat-pray-ai - formula: yutu - github-package: needs: [goreleaser] runs-on: ubuntu-latest diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4115a18..bfdbbb1 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -17,7 +17,7 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v9.0.0 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 30 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8cba04..9ee330f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !startsWith(github.ref, 'refs/tags/') }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-go@v5 with: go-version-file: ./go.mod