Skip to content

Commit

Permalink
Use git global config parameter in GPG key step instead of explicit s…
Browse files Browse the repository at this point in the history
…etup
  • Loading branch information
yeraydavidrodriguez committed Feb 17, 2022
1 parent aeb9ac6 commit 86ac5d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ jobs:
passphrase: ${{ secrets.TEST_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Set GPG key user as the Git global user
run: |
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
git config --global user.signingkey "${{ steps.import-gpg.outputs.keyid }}"
git_config_global: true

- name: Setup Python
uses: actions/[email protected]
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ jobs:
passphrase: ${{ secrets.TEST_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Set GPG key user as the Git global user
run: |
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
git config --global user.signingkey "${{ steps.import-gpg.outputs.keyid }}"
git_config_global: true

- name: Setup Python
uses: actions/[email protected]
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/publish-pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ jobs:
passphrase: ${{ secrets.TEST_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Set GPG key user as the Git global user
run: |
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
git config --global user.signingkey "${{ steps.import-gpg.outputs.keyid }}"
git_config_global: true

- name: Setup Python
uses: actions/[email protected]
Expand Down

0 comments on commit 86ac5d1

Please sign in to comment.