From 8094a34b5056f185335370eb530573f9805be9f9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 01:13:05 +0000 Subject: [PATCH 1/2] chore(deps): update github actions dependencies --- .github/workflows/main.yml | 14 +++++++------- .github/workflows/release-draft.yml | 2 +- .github/workflows/static.yml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a09f7895..693ce061 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,13 +37,13 @@ jobs: - name: Upload test results to Codecov if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: report_type: test_results token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -72,15 +72,15 @@ jobs: uses: actions/checkout@v6 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 id: setup-buildx - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -101,7 +101,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: he0119/coolqbot tags: | @@ -110,7 +110,7 @@ jobs: type=raw,value=test,enable=${{ github.event_name == 'pull_request' }} - name: Build Docker image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . cache-from: type=gha diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 19c4fa4c..559cb9e9 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -11,6 +11,6 @@ jobs: name: Update Release Draft runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@v6 + - uses: release-drafter/release-drafter@v7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c1836a3b..8d220cb4 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@v6 - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 - name: Upload artifact uses: actions/upload-pages-artifact@v4 @@ -45,4 +45,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 From fb14008b28c4cd930801bb446251c4c42f0d3886 Mon Sep 17 00:00:00 2001 From: uy/sun Date: Mon, 30 Mar 2026 09:19:45 +0800 Subject: [PATCH 2/2] ci: add autolabeler workflow and update release drafter configuration --- .github/workflows/autolabeler.yml | 16 ++++++++++++++++ .github/workflows/release-draft.yml | 12 ++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/autolabeler.yml diff --git a/.github/workflows/autolabeler.yml b/.github/workflows/autolabeler.yml new file mode 100644 index 00000000..2b2cfff6 --- /dev/null +++ b/.github/workflows/autolabeler.yml @@ -0,0 +1,16 @@ +name: Auto Label + +on: + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + auto_label: + permissions: + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter/autolabeler@v7 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 559cb9e9..af5e4ad4 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -2,15 +2,15 @@ name: Release Drafter on: push: - branches: [main] - pull_request: - types: [opened, reopened, synchronize] + branches: + - main + +permissions: + contents: write + pull-requests: read jobs: update_release_draft: - name: Update Release Draft runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v7 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}