Skip to content

Commit

Permalink
don't benchmark if no code is changed (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson authored Jul 6, 2024
1 parent b268363 commit d997e71
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ name: 'Benchmark'
on: pull_request

jobs:
file-changes:
name: Detect File Changes
runs-on: 'ubuntu-latest'
outputs:
checkall: ${{ steps.changes.outputs.checkall }}
steps:
- name: Clone
uses: actions/checkout@v4

- name: Detect Changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: ".github/file-filter.yml"

self:
name: Georgia Tech | Phoenix (NVHPC)
if: github.repository == 'MFlowCode/MFC'
Expand Down

0 comments on commit d997e71

Please sign in to comment.