Skip to content

Commit 030c543

Browse files
authored
Restore instructions on how to sign commits/tags (#12)
1 parent a1f9615 commit 030c543

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,13 @@ Use this action to create signed git artifacts:
4444
4545
- name: Create signed commit
4646
uses: mongodb/drivers-github-tools/git-sign@v2
47+
with:
48+
command: "git commit -m 'Commit' -s --gpg-sign=${{ vars.GPG_KEY_ID }}"
4749
4850
- name: Create signed tag
4951
uses: mongodb/drivers-github-tools/git-sign@v2
52+
with:
53+
command: "git tag -m 'Tag' -s --local-user=${{ vars.GPG_KEY_ID }} <tag>"
5054
```
5155

5256
### gpg-sign
@@ -152,4 +156,4 @@ If `dry_run` is set, nothing will be published or pushed.
152156
product_name: winkerberos
153157
token: ${{ github.token }}
154158
dry_run: ${{ inputs.dry_run }}
155-
```
159+
```

0 commit comments

Comments
 (0)