Skip to content

Commit 8284627

Browse files
CI: Update owners and basic workflows (#153)
* CI: Define code owners * CI: Updates common workflows stuff * Update .github/labeler.yml Co-authored-by: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> * Update .github/CODEOWNERS --------- Co-authored-by: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com>
1 parent 8a2dffd commit 8284627

File tree

6 files changed

+28
-33
lines changed

6 files changed

+28
-33
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# These owners will be the default owners for everything in
55
# the repo. Unless a later match takes precedence,
66
# Owners will be requested for review when someone opens a PR.
7-
* @nezgrath @ojkoenig @Buzz1167 @davel94
7+
* @SMoraisAnsys @maxcapodi78 @Samuelopez-ansys @gmalinve @dcrawforAtAnsys

.github/dependabot.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
version: 2
22
updates:
33
- package-ecosystem: "pip" # See documentation for possible values
4-
directory: "/" # Location of package manifests
4+
directory: "/requirements" # Location of package manifests
55
insecure-external-code-execution: allow
66
schedule:
7-
interval: "daily"
7+
interval: "weekly"
88
labels:
99
- "maintenance"
1010
- "dependencies"
11-
groups:
12-
opentelemetry:
13-
patterns:
14-
- "opentelemetry*"
15-
dependencies:
16-
patterns:
17-
- "*" # Update all packages together
18-
exclude-patterns:
19-
- "opentelemetry*"
11+
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"

.github/labeler.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
documentation:
2-
- doc/source/**/*
2+
- changed-files:
3+
- any-glob-to-any-file: doc/source/**/*
34
maintenance:
4-
- .github/**/*
5-
- .flake8
6-
- pyproject.toml
5+
- changed-files:
6+
- any-glob-to-any-file: .github/**/*
7+
- any-glob-to-any-file: .flake8
78
dependencies:
8-
- requirements/*
9+
- changed-files:
10+
- any-glob-to-any-file: requirements/*

.github/labels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424

2525
- name: release
2626
description: Anything related to an incoming release
27-
color: ffffff
27+
color: ffffff

.github/pull_request_template.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ Please provide a brief description of the changes in this pull request.
55

66
## Checklist
77
Please complete the following checklist before submitting your pull request:
8-
- [ ] I have tested these changes locally and verified that they work as intended.
9-
- [ ] I have updated any documentation as needed to reflect these changes (if appropriate)
8+
- [ ] I have followed the example template and guide lines to add/update an example.
9+
- [ ] I have tested the example locally and verified that it is working with the latest version of AEDT.
1010
- [ ] I have verified that these changes to the best of my knowledge do not introduce any security vulnerabilities.
11-
- [ ] Unit tests have been added (if appropriate)
12-
- [ ] Test-cases have been added (if appropriate)
13-
- [ ] Testing instructions have been added (if appropriate)

.github/workflows/label.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Syncer
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- uses: micnncim/action-label-syncer@v1
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -32,10 +32,10 @@ jobs:
3232

3333
# Label based on modified files
3434
- name: Label based on changed files
35-
uses: actions/labeler@v4
35+
uses: actions/labeler@v5
3636
with:
3737
repo-token: ${{ secrets.GITHUB_TOKEN }}
38-
sync-labels: ''
38+
sync-labels: true
3939

4040
# Label based on branch name
4141
- uses: actions-ecosystem/action-add-labels@v1
@@ -70,16 +70,16 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Suggest to add labels
73-
uses: peter-evans/create-or-update-comment@v2
73+
uses: peter-evans/create-or-update-comment@v4
7474
# Execute only when no labels have been applied to the pull request
7575
if: toJSON(github.event.pull_request.labels.*.name) == '{}'
7676
with:
7777
issue-number: ${{ github.event.pull_request.number }}
7878
body: |
7979
Please add one of the following labels to add this contribution to the Release Notes :point_down:
80-
- [bug]([https://github.com/pyansys/pyrep/pulls?q=label%3Abug+)
81-
- [documentation]([https://github.com/pyansys/pyrep/pulls?q=label%3Adocumentation+)
82-
- [enhancement]([https://github.com/pyansys/pyrep/pulls?q=label%3Aenhancement+)
83-
- [good first issue]([https://github.com/pyansys/pyrep/pulls?q=label%3Agood+first+issue)
84-
- [maintenance]([https://github.com/pyansys/pyrep/pulls?q=label%3Amaintenance+)
85-
- [release]([https://github.com/pyansys/pyrep/pulls?q=label%3Arelease+)
80+
- [bug](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Abug+)
81+
- [documentation](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Adocumentation+)
82+
- [enhancement](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Aenhancement+)
83+
- [good first issue](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Agood+first+issue)
84+
- [maintenance](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Amaintenance+)
85+
- [release](https://github.com/ansys/pyaedt-examples/pulls?q=label%3Arelease+)

0 commit comments

Comments
 (0)