Skip to content

Commit

Permalink
Merge pull request #902 from lorenzwalthert/toucstone-action
Browse files Browse the repository at this point in the history
Fix touchstone
  • Loading branch information
lorenzwalthert authored Jan 15, 2022
2 parents 70e764f + b02e471 commit 10b064b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/touchstone-comment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Continuous Benchmarks (Comment)

# read-write repo token
# access to secrets
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

on:
workflow_run:
workflows: ["Continuous Benchmarks (Receive)"]
Expand All @@ -15,4 +17,6 @@ jobs:
${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: lorenzwalthert/touchstone/actions/comment@main
- uses: lorenzwalthert/touchstone/actions/comment@add-pat
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 11 additions & 5 deletions .github/workflows/touchstone-receive.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Continuous Benchmarks (Receive)

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

on: pull_request

jobs:
prepare:
runs-on: ubuntu-latest
Expand All @@ -9,7 +15,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: 0

- id: read_touchstone_config
run: |
Expand All @@ -33,9 +39,9 @@ jobs:
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: lorenzwalthert/touchstone/actions/receive@main
- uses: lorenzwalthert/touchstone/actions/receive@add-pat
with:
cache-version: 1
benchmarking_repo: ${{matrix.config.benchmarking_repo}}
benchmarking_ref: ${{matrix.config.benchmarking_ref}}
benchmarking_path: ${{matrix.config.benchmarking_path}}
benchmarking_repo: ${{ matrix.config.benchmarking_repo }}
benchmarking_ref: ${{ matrix.config.benchmarking_ref }}
benchmarking_path: ${{ matrix.config.benchmarking_path }}

0 comments on commit 10b064b

Please sign in to comment.