Skip to content

Commit

Permalink
make underscores and dashes consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 19, 2024
1 parent df88537 commit db2ef48
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/actions/commit_and_push/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:

- uses: ./.github/actions/commit_and_push
with:
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
branch-name: 'branch-name'
commit-message: 'commit message'
create-branch: 'true'
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/commit_and_push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ inputs:
commit-message:
description: 'Commit message'
required: true
gpg_signing_key:
gpg-signing-key:
description: 'The GPG signing key to use for signing commits'
required: true
signing_key_id:
signing-key-id:
description: 'The GPG signing key ID to configure for git'
required: true
runs:
using: composite
steps:
- uses: ./.github/actions/configure_git
with:
gpg_signing_key: ${{ inputs.gpg_signing_key }}
signing_key_id: ${{ inputs.signing_key_id }}
gpg-signing-key: ${{ inputs.gpg-signing-key }}
signing-key-id: ${{ inputs.signing-key-id }}

- name: Commit and push changes
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/configure_git/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ steps:

- uses: ./.github/actions/configure_git
with:
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
```
8 changes: 4 additions & 4 deletions .github/actions/configure_git/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Configure Git
description: 'Configures git with user info and GPG signing'
inputs:
gpg_signing_key:
gpg-signing-key:
description: 'The GPG signing key to use for signing commits'
required: true
signing_key_id:
signing-key-id:
description: 'The GPG signing key ID to configure for git'
required: true
runs:
Expand All @@ -16,6 +16,6 @@ runs:
git config --global user.name 'Jordan Last'
git config --global user.email '[email protected]'
git config --global commit.gpgsign true
echo -n "${{ inputs.gpg_signing_key }}" | base64 --decode | gpg --import
git config --global user.signingkey ${{ inputs.signing_key_id }}
echo -n "${{ inputs.gpg-signing-key }}" | base64 --decode | gpg --import
git config --global user.signingkey ${{ inputs.signing-key-id }}
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:

- uses: ./.github/actions/commit_and_push
with:
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
branch-name: ${{ needs.create-branch-prefix.outputs.base-branch }}
commit-message: 'analyze benchmark results'
create-branch: 'false'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ jobs:
with:
branch-name: ${{ steps.create-branch-name.outputs.branch-name }}
commit-message: 'Run benchmarks for ${{ matrix.test.displayPath }}'
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
create-branch: 'true'
signing-key-id: ${{ inputs.signing-key-id }}
4 changes: 2 additions & 2 deletions .github/workflows/build_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
with:
branch-name: ${{ github.head_ref }}
commit-message: 'chore: update templates for dependency changes'
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
signing_key_id: 2ED5FB11C6D5168EB9D69C5EF524010C7419CA66
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
signing-key-id: 2ED5FB11C6D5168EB9D69C5EF524010C7419CA66
4 changes: 2 additions & 2 deletions .github/workflows/create_branch_prefix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- uses: ./.github/actions/configure_git
with:
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
signing_key_id: ${{ inputs.signing-key-id }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
signing-key-id: ${{ inputs.signing-key-id }}

- name: Create base branch
run: git checkout -b ${{ steps.create-prefix.outputs.base-branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
with:
branch-name: ${{ needs.create-branch-prefix.outputs.base-branch }}
commit-message: 'Prepare release ${{ inputs.release-version }}'
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
signing-key-id: ${{ inputs.signing-key-id }}

- name: Publish to npm
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
with:
branch-name: ${{ steps.create-branch-name.outputs.branch-name }}
commit-message: 'Update test files for ${{ matrix.test.displayPath }}'
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
create-branch: 'true'
signing-key-id: ${{ inputs.signing-key-id }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/squash_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:

- uses: ./.github/actions/configure_git
with:
gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}
signing_key_id: ${{ inputs.signing-key-id }}
gpg-signing-key: ${{ secrets.GPG_SIGNING_KEY }}
signing-key-id: ${{ inputs.signing-key-id }}
- name: Collect branches
id: collect-branches
run: |
Expand Down

0 comments on commit db2ef48

Please sign in to comment.