Skip to content

Commit

Permalink
refactor(plugins-benchmark-pr): inputs to dash case
Browse files Browse the repository at this point in the history
For consistency
  • Loading branch information
mweberxyz committed Feb 21, 2024
1 parent a9911bc commit aae6fe4
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/plugins-benchmark-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ on:
type: string
default: benchmark
required: false
source_repo:
source-repo:
type: string
default: ${{ github.event.pull_request.head.repo.full_name }}
required: false
source_sha:
source-sha:
type: string
default: ${{ github.event.pull_request.head.sha }}
required: false
source_ref:
source-ref:
type: string
default: ${{ github.event.pull_request.head.ref }}
required: false
target_repo:
target-repo:
type: string
default: ${{ github.event.pull_request.base.repo.full_name }}
required: false
target_sha:
target-sha:
type: string
default: ${{ github.event.pull_request.base.sha }}
required: false
target_ref:
target-ref:
type: string
default: ${{ github.event.pull_request.base.ref }}
required: false
Expand All @@ -52,8 +52,8 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ inputs.source_sha }}
repository: ${{ inputs.source_repo }}
ref: ${{ inputs.source-sha }}
repository: ${{ inputs.source-repo }}

- uses: actions/setup-node@v4
with:
Expand All @@ -73,8 +73,8 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ inputs.target_sha }}
repository: ${{ inputs.target_repo }}
ref: ${{ inputs.target-sha }}
repository: ${{ inputs.target-repo }}

- name: Install
run: |
Expand All @@ -100,35 +100,35 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: |
**Node**: 18
${{ inputs.source_repo }}@${{ inputs.source_sha }} (${{ inputs.source_ref }}):
${{ inputs.source-repo }}@${{ inputs.source-sha }} (${{ inputs.source-ref }}):
```
${{ needs.benchmark.outputs.PR-BENCH-18 }}
```
${{ inputs.target_repo }}@${{ inputs.target_sha }} (${{ inputs.target_ref }}):
${{ inputs.target-repo }}@${{ inputs.target-sha }} (${{ inputs.target-ref }}):
```
${{ needs.benchmark.outputs.TARGET-BENCH-18 }}
```
---
**Node**: 20
${{ inputs.source_repo }}@${{ inputs.source_sha }} (${{ inputs.source_ref }}):
${{ inputs.source-repo }}@${{ inputs.source-sha }} (${{ inputs.source-ref }}):
```
${{ needs.benchmark.outputs.PR-BENCH-20 }}
```
${{ inputs.target_repo }}@${{ inputs.target_sha }} (${{ inputs.target_ref }}):
${{ inputs.target-repo }}@${{ inputs.target-sha }} (${{ inputs.target-ref }}):
```
${{ needs.benchmark.outputs.TARGET-BENCH-20 }}
```
---
**Node**: 21
${{ inputs.source_repo }}@${{ inputs.source_sha }} (${{ inputs.source_ref }}):
${{ inputs.source-repo }}@${{ inputs.source-sha }} (${{ inputs.source-ref }}):
```
${{ needs.benchmark.outputs.PR-BENCH-21 }}
```
${{ inputs.target_repo }}@${{ inputs.target_sha }} (${{ inputs.target_ref }}):
${{ inputs.target-repo }}@${{ inputs.target-sha }} (${{ inputs.target-ref }}):
```
${{ needs.benchmark.outputs.TARGET-BENCH-21 }}
```

0 comments on commit aae6fe4

Please sign in to comment.