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:
David Galiffi
2025-08-13 09:42:49 -04:00
odevzdal GitHub
rodič d0a18e0eb9
revize 311e279596
11 změnil soubory, kde provedl 17 přidání a 26 odebrání
+2
Zobrazit soubor
@@ -7,6 +7,8 @@ on:
schedule:
- cron: 0 5 * * *
push:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-systems-containers.yml'
- 'projects/rocprofiler-systems/docker/**'
+2
Zobrazit soubor
@@ -4,6 +4,8 @@ run-name: cpack
on:
workflow_dispatch:
push:
branches:
- develop
paths:
- 'projects/rocprofiler-systems/docker/**'
- '!projects/rocprofiler-systems/*.md'
+2
Zobrazit soubor
@@ -4,6 +4,8 @@ run-name: formatting
on:
push:
branches:
- develop
paths:
- 'projects/rocprofiler-systems/**'
pull_request:
+2
Zobrazit soubor
@@ -3,6 +3,8 @@ run-name: opensuse-15
on:
push:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-systems-opensuse.yml'
- 'projects/rocprofiler-systems/**'
+2
Zobrazit soubor
@@ -3,6 +3,8 @@ run-name: Python
on:
push:
branches:
- develop
paths:
- 'projects/rocprofiler-systems/**'
- 'projects/rocprofiler-systems/source/python/gui/*.py'
+2
Zobrazit soubor
@@ -3,6 +3,8 @@ run-name: redhat
on:
push:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-systems-redhat.yml'
- 'projects/rocprofiler-systems/**'
+2
Zobrazit soubor
@@ -3,6 +3,8 @@ run-name: ubuntu-jammy
on:
push:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-systems-ubuntu-jammy.yml'
- 'projects/rocprofiler-systems/**'
+2
Zobrazit soubor
@@ -3,6 +3,8 @@ run-name: ubuntu-noble
on:
push:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-systems-ubuntu-noble.yml'
- 'projects/rocprofiler-systems/**'
-8
Zobrazit soubor
@@ -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
Zobrazit soubor
@@ -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"
+1 -1
Zobrazit soubor
@@ -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/