From ebb0849f557bca4c388afaa4a09ecc39a338cbeb Mon Sep 17 00:00:00 2001 From: h7ml Date: Wed, 1 May 2024 17:22:47 +0800 Subject: [PATCH] ci: test.yml --- .github/workflows/test.yml | 13 +++++++++++++ README.md | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..24bf2ed --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,13 @@ +name: test +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Commit Comment + uses: dext7r/commit-comment@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + body: 'This is a test comment.' diff --git a/README.md b/README.md index 2ea2912..d31850d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This GitHub Action allows you to automatically create a commit comment on a pull ```yaml - name: Commit Comment - uses: dext7r/commit-comment-action@v1.0.0 + uses: dext7r/commit-comment@main with: token: ${{ secrets.GITHUB_TOKEN }} body: 'This is a test comment.' @@ -49,7 +49,7 @@ jobs: steps: - name: Commit Comment - uses: dext7r/commit-comment-action@v1.0.0 + uses: dext7r/commit-comment@main with: token: ${{ secrets.GITHUB_TOKEN }} body: 'Hello from GitHub Action!' diff --git a/package.json b/package.json index 90cb6b9..57c28d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "commit-comment", - "version": "1.0.0", + "version": "1.1.0", "description": "A GitHub Action to commit comment", "repository": { "type": "git",