Skip to content

Commit 10b064b

Browse files
Merge pull request #902 from lorenzwalthert/toucstone-action
Fix touchstone
2 parents 70e764f + b02e471 commit 10b064b

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/touchstone-comment.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Continuous Benchmarks (Comment)
22

3-
# read-write repo token
4-
# access to secrets
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref }}
5+
cancel-in-progress: true
6+
57
on:
68
workflow_run:
79
workflows: ["Continuous Benchmarks (Receive)"]
@@ -15,4 +17,6 @@ jobs:
1517
${{ github.event.workflow_run.event == 'pull_request' &&
1618
github.event.workflow_run.conclusion == 'success' }}
1719
steps:
18-
- uses: lorenzwalthert/touchstone/actions/comment@main
20+
- uses: lorenzwalthert/touchstone/actions/comment@add-pat
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/touchstone-receive.yaml

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Continuous Benchmarks (Receive)
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref }}
5+
cancel-in-progress: true
6+
27
on: pull_request
8+
39
jobs:
410
prepare:
511
runs-on: ubuntu-latest
@@ -9,7 +15,7 @@ jobs:
915
- name: Checkout repo
1016
uses: actions/checkout@v2
1117
with:
12-
fetch-depth: 0
18+
fetch-depth: 0
1319

1420
- id: read_touchstone_config
1521
run: |
@@ -33,9 +39,9 @@ jobs:
3339
RSPM: ${{ matrix.config.rspm }}
3440
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3541
steps:
36-
- uses: lorenzwalthert/touchstone/actions/receive@main
42+
- uses: lorenzwalthert/touchstone/actions/receive@add-pat
3743
with:
3844
cache-version: 1
39-
benchmarking_repo: ${{matrix.config.benchmarking_repo}}
40-
benchmarking_ref: ${{matrix.config.benchmarking_ref}}
41-
benchmarking_path: ${{matrix.config.benchmarking_path}}
45+
benchmarking_repo: ${{ matrix.config.benchmarking_repo }}
46+
benchmarking_ref: ${{ matrix.config.benchmarking_ref }}
47+
benchmarking_path: ${{ matrix.config.benchmarking_path }}

0 commit comments

Comments
 (0)