Skip to content

Commit

Permalink
ci: gpg directory
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 committed Jan 21, 2025
1 parent f138df9 commit 559edab
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ jobs:
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
needs: define_tag
env:
GNUPGHOME: /home/runner/.gnupg
steps:
- name: Check out
uses: actions/checkout@v4
Expand All @@ -151,22 +153,6 @@ jobs:
git_push_gpgsign: true
trust_level: 5

- name: Configure Git for GPG
run: |
git config --global user.signingkey 321A7D4C2501A665
git config --global commit.gpgsign true
git config --global tag.gpgsign true
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# Set GPG directory explicitly
git config --global gpg.program gpg
mkdir -p /github/home/.gnupg
chmod 700 /github/home/.gnupg
ln -s /home/runner/.gnupg/* /github/home/.gnupg/ || true
echo "allow-preset-passphrase" > /github/home/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
Expand Down

0 comments on commit 559edab

Please sign in to comment.