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>
Tento commit je obsažen v:
@@ -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/**'
|
||||
|
||||
vendorováno
@@ -1,8 +0,0 @@
|
||||
* @ROCm/rocprof-sys @jrmadsen
|
||||
|
||||
# Documentation files
|
||||
docs/** @ROCm/rocm-documentation
|
||||
*.md @ROCm/rocm-documentation
|
||||
*.rst @ROCm/rocm-documentation
|
||||
.readthedocs.yaml @ROCm/rocm-documentation
|
||||
docs/sphinx/* @samjwu
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "pip" # See documentation for possible values
|
||||
directory: "/docs/sphinx" # Location of package manifests
|
||||
open-pull-requests-limit: 10
|
||||
schedule:
|
||||
interval: "daily"
|
||||
labels:
|
||||
- "documentation"
|
||||
- "dependencies"
|
||||
reviewers:
|
||||
- "samjwu"
|
||||
@@ -50,7 +50,7 @@ repos:
|
||||
- id: check-copyright
|
||||
name: copyright-detector
|
||||
require_serial: true # Slightly slower, but prevents hook running script many times
|
||||
entry: ./scripts/check-copyright.sh
|
||||
entry: ./projects/rocprofiler-systems/scripts/check-copyright.sh
|
||||
language: script
|
||||
files: \.(c|h|txt|cpp|hpp|py)$
|
||||
exclude: ^\.|^docs/|^examples/lulesh/|^examples/mpi/|^examples/openmp/|^external/|^cmake/
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele