Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
- # :fountain_pen : Create a ** signed** commit with GitHub Actions
1
+ # :fountain_pen : Create ** signed** commits with GitHub Actions
2
2
3
3
[ ![ CI] [ ci_badge ]] [ ci_workflows ]
4
4
[ ![ Coverage] [ coverage_badge ]] [ coverage ]
26
26
contents : write # grant secrets.GITHUB_TOKEN permission to push file changes
27
27
28
28
- name : Commit file
29
- uses : ryancyq/signed-commit @v1
29
+ uses : ryancyq/signed-commits @v1
30
30
env :
31
31
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
32
with :
@@ -53,7 +53,7 @@ Note: The `GH_TOKEN` environment variable is **required** for GitHub API request
53
53
| :--- | :--- |
54
54
| `commit-sha` | Full SHA of the signed commit |
55
55
56
- [ci_badge] : https://github.com/ryancyq/signed-commit /actions/workflows/ci.yml/badge.svg
57
- [ci_workflows] : https://github.com/ryancyq/signed-commit /actions/workflows/ci.yml
58
- [coverage_badge] : https://codecov.io/gh/ryancyq/signed-commit /graph/badge.svg?token=KZTD2F2MN2
59
- [coverage] : https://codecov.io/gh/ryancyq/signed-commit
56
+ [ci_badge] : https://github.com/ryancyq/signed-commits /actions/workflows/ci.yml/badge.svg
57
+ [ci_workflows] : https://github.com/ryancyq/signed-commits /actions/workflows/ci.yml
58
+ [coverage_badge] : https://codecov.io/gh/ryancyq/signed-commits /graph/badge.svg?token=KZTD2F2MN2
59
+ [coverage] : https://codecov.io/gh/ryancyq/signed-commits
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ describe('GitHub Client', () => {
34
34
it ( 'should set user-agent' , async ( ) => {
35
35
expect ( graphqlClient ( ) . endpoint . DEFAULTS . headers ) . toHaveProperty (
36
36
'user-agent' ,
37
- '@ryancyq/signed-commit /1.0.0'
37
+ '@ryancyq/signed-commits /1.0.0'
38
38
)
39
39
} )
40
40
} )
Original file line number Diff line number Diff line change 1
1
{
2
2
"type" : " module" ,
3
- "name" : " @ryancyq/signed-commit " ,
3
+ "name" : " @ryancyq/signed-commits " ,
4
4
"version" : " 1.0.0" ,
5
5
"description" : " Create a signed commit with GitHub Actions" ,
6
6
"main" : " dist/index.js" ,
7
7
"repository" : {
8
8
"type" : " git" ,
9
- "url" : " git+https://github.com/ryancyq/signed-commit .git"
9
+ "url" : " git+https://github.com/ryancyq/signed-commits .git"
10
10
},
11
11
"keywords" : [],
12
12
"author" : " Ryan Chang <ryancyq@gmail.com> (https://github.com/ryancyq)" ,
13
13
"license" : " MIT" ,
14
14
"bugs" : {
15
- "url" : " https://github.com/ryancyq/signed-commit /issues"
15
+ "url" : " https://github.com/ryancyq/signed-commits /issues"
16
16
},
17
17
"scripts" : {
18
18
"start" : " node dist/index.js" ,
24
24
"test" : " npx jest" ,
25
25
"ci-test" : " npx jest --runInBand"
26
26
},
27
- "homepage" : " https://github.com/ryancyq/signed-commit #readme" ,
27
+ "homepage" : " https://github.com/ryancyq/signed-commits #readme" ,
28
28
"dependencies" : {
29
29
"@actions/core" : " ^1.10.0" ,
30
30
"@actions/exec" : " ^1.1.0" ,
0 commit comments