Add "branch" requirement to "push" workflows. (#329)
* Add "branch" requirement to "push" workflows. * Deleted obsolete workflow files Signed-off-by: David Galiffi <David.Galiffi@amd.com> * Fix path to the `check-copyright.sh` in `pre-commit-config.yaml` --------- Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
@@ -7,6 +7,8 @@ on:
|
||||
schedule:
|
||||
- cron: 0 5 * * *
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '.github/workflows/rocprofiler-systems-containers.yml'
|
||||
- 'projects/rocprofiler-systems/docker/**'
|
||||
|
||||
@@ -4,6 +4,8 @@ run-name: cpack
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- 'projects/rocprofiler-systems/docker/**'
|
||||
- '!projects/rocprofiler-systems/*.md'
|
||||
|
||||
@@ -4,6 +4,8 @@ run-name: formatting
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
pull_request:
|
||||
|
||||
@@ -3,6 +3,8 @@ run-name: opensuse-15
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '.github/workflows/rocprofiler-systems-opensuse.yml'
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
|
||||
@@ -3,6 +3,8 @@ run-name: Python
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
- 'projects/rocprofiler-systems/source/python/gui/*.py'
|
||||
|
||||
@@ -3,6 +3,8 @@ run-name: redhat
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '.github/workflows/rocprofiler-systems-redhat.yml'
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
|
||||
@@ -3,6 +3,8 @@ run-name: ubuntu-jammy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '.github/workflows/rocprofiler-systems-ubuntu-jammy.yml'
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
|
||||
@@ -3,6 +3,8 @@ run-name: ubuntu-noble
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- '.github/workflows/rocprofiler-systems-ubuntu-noble.yml'
|
||||
- 'projects/rocprofiler-systems/**'
|
||||
|
||||
Reference in New Issue
Block a user