Skip to content

Commit

Permalink
ci: Move files since GitHub doesn't allow for locating reusable workf…
Browse files Browse the repository at this point in the history
…lows in arbitrary locations (#2)
  • Loading branch information
nfelt14 authored Aug 15, 2024
1 parent 33d6596 commit c5e0210
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/enforce-community-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion workflows/check-api-for-breaking-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion workflows/enforce-community-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
```

0 comments on commit c5e0210

Please sign in to comment.