Skip to content

Commit

Permalink
use consistent workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Aug 16, 2023
1 parent f7d63f6 commit 861782b
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 861782b

Please sign in to comment.