Skip to content

Commit

Permalink
use consistent workflow triggers (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Aug 16, 2023
1 parent b68e114 commit 94f6a59
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build-test-cplusplus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Build and Test C++

on: [push, pull_request]
on:
push:
branches:
- main
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/plot-k27-no-bitfield.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Plot k=27 without bitfield

on: [push, pull_request]
on:
push:
branches:
- main
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/plot-k27.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Plot k=27

on: [push, pull_request]
on:
push:
branches:
- main
release:
types: [published]
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
Expand Down

0 comments on commit 94f6a59

Please sign in to comment.