Skip to content

Commit

Permalink
rename to signed-commits
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancyq committed Aug 28, 2024
1 parent 7137a60 commit 188c890
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :fountain_pen: Create a **signed** commit with GitHub Actions
# :fountain_pen: Create **signed** commits with GitHub Actions

[![CI][ci_badge]][ci_workflows]
[![Coverage][coverage_badge]][coverage]
Expand Down Expand Up @@ -26,7 +26,7 @@ jobs:
contents: write # grant secrets.GITHUB_TOKEN permission to push file changes

- name: Commit file
uses: ryancyq/signed-commit@v1
uses: ryancyq/signed-commits@v1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -53,7 +53,7 @@ Note: The `GH_TOKEN` environment variable is **required** for GitHub API request
| :--- | :--- |
| `commit-sha` | Full SHA of the signed commit |

[ci_badge]: https://github.com/ryancyq/signed-commit/actions/workflows/ci.yml/badge.svg
[ci_workflows]: https://github.com/ryancyq/signed-commit/actions/workflows/ci.yml
[coverage_badge]: https://codecov.io/gh/ryancyq/signed-commit/graph/badge.svg?token=KZTD2F2MN2
[coverage]: https://codecov.io/gh/ryancyq/signed-commit
[ci_badge]: https://github.com/ryancyq/signed-commits/actions/workflows/ci.yml/badge.svg
[ci_workflows]: https://github.com/ryancyq/signed-commits/actions/workflows/ci.yml
[coverage_badge]: https://codecov.io/gh/ryancyq/signed-commits/graph/badge.svg?token=KZTD2F2MN2
[coverage]: https://codecov.io/gh/ryancyq/signed-commits
2 changes: 1 addition & 1 deletion __tests__/github/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('GitHub Client', () => {
it('should set user-agent', async () => {
expect(graphqlClient().endpoint.DEFAULTS.headers).toHaveProperty(
'user-agent',
'@ryancyq/signed-commit/1.0.0'
'@ryancyq/signed-commits/1.0.0'
)
})
})
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"type": "module",
"name": "@ryancyq/signed-commit",
"name": "@ryancyq/signed-commits",
"version": "1.0.0",
"description": "Create a signed commit with GitHub Actions",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ryancyq/signed-commit.git"
"url": "git+https://github.com/ryancyq/signed-commits.git"
},
"keywords": [],
"author": "Ryan Chang <ryancyq@gmail.com> (https://github.com/ryancyq)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ryancyq/signed-commit/issues"
"url": "https://github.com/ryancyq/signed-commits/issues"
},
"scripts": {
"start": "node dist/index.js",
Expand All @@ -24,7 +24,7 @@
"test": "npx jest",
"ci-test": "npx jest --runInBand"
},
"homepage": "https://github.com/ryancyq/signed-commit#readme",
"homepage": "https://github.com/ryancyq/signed-commits#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.0",
Expand Down

0 comments on commit 188c890

Please # to comment.