Skip to content

Commit d77ffbf

Browse files
Merge pull request #24 from theseus-rs/benchmark-pull-request-configuration
test: update benchmark pull request configuration
2 parents 3d6c3a6 + c05c0cd commit d77ffbf

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/pr-benchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run and Cache Benchmarks
1+
name: Benchmarks
22

33
on:
44
pull_request:
@@ -35,11 +35,13 @@ jobs:
3535
run: |
3636
cargo bench --bench archive --features blocking -- --output-format criterion | \
3737
bencher run \
38+
--branch $GITHUB_HEAD_REF \
3839
--ci-number "${{ github.event.number }}" \
3940
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
4041
--err
4142
cargo bench --bench embedded --features blocking -- --output-format criterion | \
4243
bencher run \
44+
--branch $GITHUB_HEAD_REF \
4345
--ci-number "${{ github.event.number }}" \
4446
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
4547
--err

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Label pull request
16-
uses: release-drafter/release-drafter@v5
16+
uses: release-drafter/release-drafter@v6
1717
with:
1818
disable-releaser: true
1919
env:

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Draft release
23-
uses: release-drafter/release-drafter@v5
23+
uses: release-drafter/release-drafter@v6
2424
with:
2525
config-name: release-drafter.yml
2626
commitish: ${{ inputs.sha || github.sha }}

0 commit comments

Comments
 (0)