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:
David Galiffi
2025-08-13 09:42:49 -04:00
committed by GitHub
parent d0a18e0eb9
commit 311e279596
11 changed files with 17 additions and 26 deletions
-8
View File
@@ -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
View File
@@ -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/