diff --git a/.github/workflows/enforce-community-standards.yml b/.github/workflows/enforce-community-standards.yml index e2b3d1f8..9438121a 100644 --- a/.github/workflows/enforce-community-standards.yml +++ b/.github/workflows/enforce-community-standards.yml @@ -7,4 +7,4 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/workflows/enforce-community-standards.yml@main + uses: tektronix/python-package-ci-cd/.github/workflows/reusable-enforce-community-standards.yml@main diff --git a/workflows/check-api-for-breaking-changes.yml b/.github/workflows/reusable-check-api-for-breaking-changes.yml similarity index 100% rename from workflows/check-api-for-breaking-changes.yml rename to .github/workflows/reusable-check-api-for-breaking-changes.yml diff --git a/workflows/enforce-community-standards.yml b/.github/workflows/reusable-enforce-community-standards.yml similarity index 95% rename from workflows/enforce-community-standards.yml rename to .github/workflows/reusable-enforce-community-standards.yml index 1af6730f..ea78c44d 100644 --- a/workflows/enforce-community-standards.yml +++ b/.github/workflows/reusable-enforce-community-standards.yml @@ -1,10 +1,7 @@ --- name: Enforce Open Source Community Standards on: - push: - branches: [main] - pull_request: - branches: [main] + workflow_call: jobs: enforce-community-standards: runs-on: ubuntu-latest diff --git a/workflows/check-api-for-breaking-changes.md b/workflows/check-api-for-breaking-changes.md index fd6394d8..ccdb88ec 100644 --- a/workflows/check-api-for-breaking-changes.md +++ b/workflows/check-api-for-breaking-changes.md @@ -23,7 +23,7 @@ on: jobs: check-api-for-breaking-changes: uses: - tektronix/python-package-ci-cd/workflows/check-api-for-breaking-changes.yml@main # it is recommended to use the latest release tag instead of `main` + tektronix/python-package-ci-cd/.github/workflows/reusable-check-api-for-breaking-changes.yml@main # it is recommended to use the latest release tag instead of `main` with: package-name: my_package_name # required ``` diff --git a/workflows/enforce-community-standards.md b/workflows/enforce-community-standards.md index b561be4b..5e25f44f 100644 --- a/workflows/enforce-community-standards.md +++ b/workflows/enforce-community-standards.md @@ -32,5 +32,5 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/workflows/enforce-community-standards.yml@main # it is recommended to use the latest release tag instead of `main` + uses: tektronix/python-package-ci-cd/.github/workflows/reusable-enforce-community-standards.yml@main # it is recommended to use the latest release tag instead of `main` ```