Skip to content

Commit

Permalink
add dependencies as reasonable label
Browse files Browse the repository at this point in the history
  • Loading branch information
zulissimeta committed Aug 10, 2024
1 parent 5fb5f9e commit ddafe72
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/release-drafter-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include-paths:
- src/fairchem/core/
tag-prefix: fairchem_core
name-template: 'fairchem_core_v$RESOLVED_VERSION'
exclude-contributors: [github-actions, dependabot]
exclude-contributors: [github-actions]
categories:
- title: New Features
labels: [enhancement]
Expand All @@ -16,6 +16,8 @@ categories:
labels: [test]
- title: Deprecations
labels: [deprecation]
- title: Dependencies
labels: [dependencies]
- title: Other Changes
labels: ["*"]
version-resolver:
Expand All @@ -25,6 +27,7 @@ version-resolver:
minor:
labels:
- 'minor'
- 'dependencies'
patch:
labels:
- 'patch'
Expand Down
4 changes: 3 additions & 1 deletion .github/release-drafter-data_demo_ocpapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include-paths:
- src/fairchem/demo/ocpapi
tag-prefix: fairchem_demo_ocpapi
name-template: 'fairchem_demo_ocpapi_v$RESOLVED_VERSION'
exclude-contributors: [github-actions, dependabot]
exclude-contributors: [github-actions]
categories:
- title: New Features
labels: [enhancement]
Expand All @@ -16,6 +16,8 @@ categories:
labels: [test]
- title: Deprecations
labels: [deprecation]
- title: Dependencies
labels: [dependencies]
- title: Other Changes
labels: ["*"]
version-resolver:
Expand Down
4 changes: 3 additions & 1 deletion .github/release-drafter-data_oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include-paths:
- src/fairchem/data/oc
tag-prefix: fairchem_data_oc
name-template: 'fairchem_data_oc_v$RESOLVED_VERSION'
exclude-contributors: [github-actions, dependabot]
exclude-contributors: [github-actions]
categories:
- title: New Features
labels: [enhancement]
Expand All @@ -16,6 +16,8 @@ categories:
labels: [test]
- title: Deprecations
labels: [deprecation]
- title: Dependencies
labels: [dependencies]
- title: Other Changes
labels: ["*"]
version-resolver:
Expand Down
4 changes: 3 additions & 1 deletion .github/release-drafter_applications_cattsunami.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include-paths:
- src/fairchem/applications/cattsunami
tag-prefix: fairchem_applications_cattsunami
name-template: 'fairchem_applications_cattsunami_v$RESOLVED_VERSION'
exclude-contributors: [github-actions, dependabot]
exclude-contributors: [github-actions]
categories:
- title: New Features
labels: [enhancement]
Expand All @@ -16,6 +16,8 @@ categories:
labels: [test]
- title: Deprecations
labels: [deprecation]
- title: Dependencies
labels: [dependencies]
- title: Other Changes
labels: ["*"]
version-resolver:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/label_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Labels not added (patch, minor, major)
if: contains(github.event.pull_request.labels.*.name, 'patch') == false && contains(github.event.pull_request.labels.*.name, 'minor') == false && contains(github.event.pull_request.labels.*.name, 'major') == false
- name: Labels not added (patch, minor, major, dependencies)
if: >
contains(github.event.pull_request.labels.*.name, 'patch') == false &&
contains(github.event.pull_request.labels.*.name, 'minor') == false &&
contains(github.event.pull_request.labels.*.name, 'major') == false &&
contains(github.event.pull_request.labels.*.name, 'dependencies') == false
run: exit 1

0 comments on commit ddafe72

Please sign in to comment.