Skip to content

Commit 244f432

Browse files
committed
repo rename for better understanding
1 parent 26681b8 commit 244f432

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
push: false
6565
context: .
6666
load: true
67-
tags: github-graphql-client:latest
67+
tags: github-commit-sign:latest
6868

6969
- name: Run Docker tests
7070
env:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ You can use this module as a GitHub Action. It is a Docker-based action.
114114
```yaml
115115
# Print help
116116
- name: Print graphQL client help
117-
uses: pirafrank/github-graphql-client@v0
117+
uses: pirafrank/github-commit-sign@v0
118118
with:
119119
args: "--help"
120120
```
@@ -132,7 +132,7 @@ To commit to other repositories, you may need to override the default `GITHUB_TO
132132
# Commit changes...
133133
- name: Commit changes
134134
id: commit_changes
135-
uses: pirafrank/github-graphql-client@v0
135+
uses: pirafrank/github-commit-sign@v0
136136
if: ${{ vars.RUN_COMMIT_CHANGES == 'true' }}
137137
env:
138138
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@pirafrank/github-graphql-client",
2+
"name": "@pirafrank/github-commit-sign",
33
"version": "0.1.3",
44
"description": "Simple GitHub client to commit via their graphql APIs",
55
"main": "index.js",
@@ -12,7 +12,7 @@
1212
"test": "jest --runInBand",
1313
"test:index": "jest --runInBand --testPathPattern=index.test.js",
1414
"test:github": "jest --runInBand --testPathPattern=github.test.js",
15-
"docker:build": "docker build -t github-graphql-client -f Dockerfile .",
15+
"docker:build": "docker build -t github-commit-sign -f Dockerfile .",
1616
"docker:test": "./test.docker.sh",
1717
"docker:all": "npm run docker:build && npm run docker:test"
1818
},
@@ -21,18 +21,20 @@
2121
"github",
2222
"graphql",
2323
"client",
24-
"commit"
24+
"commit",
25+
"signed",
26+
"sign"
2527
],
2628
"author": "pirafrank",
2729
"url": "https://fpira.com/",
2830
"license": "MIT",
2931
"repository": {
3032
"type": "git",
31-
"url": "git+https://github.com/pirafrank/github-graphql-client.git"
33+
"url": "git+https://github.com/pirafrank/github-commit-sign.git"
3234
},
33-
"homepage": "https://github.com/pirafrank/github-graphql-client",
35+
"homepage": "https://github.com/pirafrank/github-commit-sign",
3436
"bugs": {
35-
"url": "https://github.com/pirafrank/github-graphql-client/issues"
37+
"url": "https://github.com/pirafrank/github-commit-sign/issues"
3638
},
3739
"dependencies": {
3840
"graphql": "^16.8.1",

test.docker.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ docker run --rm \
99
-v ./dummy:/app/dummy \
1010
-w /app \
1111
-e DEBUG \
12-
github-graphql-client:latest "--help"
12+
github-commit-sign:latest "--help"
1313

1414
echo "************** version *****************"
1515

@@ -18,7 +18,7 @@ docker run --rm \
1818
-v ./dummy:/app/dummy \
1919
-w /app \
2020
-e DEBUG \
21-
github-graphql-client:latest "-v"
21+
github-commit-sign:latest "-v"
2222

2323
# commands below need GITHUB_TOKEN to be set.
2424
if [[ -f .env.sh ]]; then
@@ -39,7 +39,7 @@ docker run --rm \
3939
-w /app \
4040
-e GITHUB_TOKEN \
4141
-e DEBUG \
42-
github-graphql-client:latest commit -o pirafrank -r 'test-repo' -c dummy/file1.txt -m 'this is a commit msg'
42+
github-commit-sign:latest commit -o pirafrank -r 'test-repo' -c dummy/file1.txt -m 'this is a commit msg'
4343

4444
echo "************** all separated *****************"
4545

@@ -49,7 +49,7 @@ docker run --rm \
4949
-w /app \
5050
-e GITHUB_TOKEN \
5151
-e DEBUG \
52-
github-graphql-client:latest commit -o pirafrank -r 'test-repo' -b main -c dummy/file1.txt -m onewordcommitmsg
52+
github-commit-sign:latest commit -o pirafrank -r 'test-repo' -b main -c dummy/file1.txt -m onewordcommitmsg
5353

5454
echo "************** all as one arg *****************"
5555

@@ -61,4 +61,4 @@ docker run --rm \
6161
-w /app \
6262
-e GITHUB_TOKEN \
6363
-e DEBUG \
64-
github-graphql-client:latest "commit -o pirafrank -r "test-repo" -b main -c dummy/file1.txt -m 'this is a commit msg'"
64+
github-commit-sign:latest "commit -o pirafrank -r "test-repo" -b main -c dummy/file1.txt -m 'this is a commit msg'"

0 commit comments

Comments
 (0)