Skip to content

Commit

Permalink
Attempt with inputs2
Browse files Browse the repository at this point in the history
  • Loading branch information
godexsoft committed Jan 15, 2024
1 parent b13775a commit 746175b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/actions/clang_tidy/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Perform clang-tidy checks
description: Checks if clang-tidy is happy and creates a PR with fixes if not
inputs:
gpg-private-key:
gpg_private_key:
description: GPG private key
required: true
gpg-passphrase:
gpg_passphrase:
description: GPG passphrase
required: true
outputs:
Expand Down Expand Up @@ -82,8 +82,8 @@ runs:
- uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ gpg-private-key }}
passphrase: ${{ gpg-passphrase }}
gpg_private_key: ${{ inputs.gpg_private_key }}
passphrase: ${{ inputs.gpg_passphrase }}
git_user_signingkey: true
git_commit_gpgsign: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
- name: Run clang-tidy checks
uses: ./.github/actions/clang_tidy
with:
gpg-private-key: ${{ secrets.ACTIONS_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.ACTIONS_GPG_PASSPHRASE }}
gpg_private_key: ${{ secrets.ACTIONS_GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.ACTIONS_GPG_PASSPHRASE }}
4 changes: 2 additions & 2 deletions .github/workflows/clang-tidy_on_fix_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
- name: Re-run clang-tidy checks on merged PR
uses: ./.github/actions/clang_tidy
with:
gpg-private-key: ${{ secrets.ACTIONS_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.ACTIONS_GPG_PASSPHRASE }}
gpg_private_key: ${{ secrets.ACTIONS_GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.ACTIONS_GPG_PASSPHRASE }}

0 comments on commit 746175b

Please sign in to comment.