From ea1ae5cc4f3e8ab71676ba9b51152fdc812ace52 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Tue, 19 Aug 2025 22:08:00 +0300 Subject: [PATCH 1/3] chore: update and rename main.yaml to release.yaml (#129) --- .github/workflows/{main.yaml => release.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{main.yaml => release.yaml} (96%) diff --git a/.github/workflows/main.yaml b/.github/workflows/release.yaml similarity index 96% rename from .github/workflows/main.yaml rename to .github/workflows/release.yaml index b4a7f0d..a9edb15 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,9 @@ -name: Main +name: Release on: release: branches: [main] - types: [published] + types: [released] workflow_dispatch: inputs: tag: From 1a0695bffb51d20f90f059c7c0b54b537ee61be8 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Tue, 19 Aug 2025 22:13:38 +0300 Subject: [PATCH 2/3] docs: update README.md to move a badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 478a8d4..163cd76 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Commit-Check GitHub Action -[![Main](https://github.com/commit-check/commit-check-action/actions/workflows/main.yaml/badge.svg)](https://github.com/commit-check/commit-check-action/actions/workflows/main.yaml) [![Commit Check](https://github.com/commit-check/commit-check-action/actions/workflows/commit-check.yml/badge.svg)](https://github.com/commit-check/commit-check-action/actions/workflows/commit-check.yml) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/commit-check/commit-check-action) [![Used by](https://img.shields.io/static/v1?label=Used%20by&message=67&color=informational&logo=slickpic)](https://github.com/commit-check/commit-check-action/network/dependents) From 02e575470a3596efe855949eb721f863bf799654 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Tue, 19 Aug 2025 22:15:25 +0300 Subject: [PATCH 3/3] Update commit-check.yml to test bug --- .github/workflows/commit-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index b22e048..2c7c2df 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -16,7 +16,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit fetch-depth: 0 # fetch all history for all branches and tags - - uses: ./ # self test + - uses: commit-check/commit-check-action@copilot/fix-58e2f213-6f3b-492c-8b06-7e433b9a715b env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because of use pr-comments with: