-
Notifications
You must be signed in to change notification settings - Fork 918
GODRIVER-3564: Add config and workflows for release note labels #2148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
be80595
32c0158
d4f8ecb
6ae0d63
b4d3ad0
200587c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -410,32 +410,6 @@ functions: | |
| export HEAD_SHA=${github_commit} | ||
| bash etc/api_report.sh | ||
|
|
||
| "add PR labels": | ||
| - command: shell.exec | ||
| type: test | ||
| params: | ||
| shell: "bash" | ||
| working_dir: src/go.mongodb.org/mongo-driver | ||
| add_expansions_to_env: true | ||
| script: | | ||
| ${PREPARE_SHELL} | ||
| export CONFIG=$PROJECT_DIRECTORY/.github/labeler.yml | ||
| export SCRIPT="$DRIVERS_TOOLS/.evergreen/github_app/apply-labels.sh" | ||
| bash $SCRIPT -l $CONFIG -h ${github_commit} -o "mongodb" -n "mongo-go-driver" | ||
|
|
||
| "add PR reviewer": | ||
| - command: shell.exec | ||
| type: test | ||
| params: | ||
| shell: "bash" | ||
| working_dir: src/go.mongodb.org/mongo-driver | ||
| add_expansions_to_env: true | ||
| script: | | ||
| ${PREPARE_SHELL} | ||
| export CONFIG=$PROJECT_DIRECTORY/.github/reviewers.txt | ||
| export SCRIPT="$DRIVERS_TOOLS/.evergreen/github_app/assign-reviewer.sh" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Optional: You can also remove the
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment as above. I didn't realize this script is in drivers-evergreen-tools. |
||
| bash $SCRIPT -p $CONFIG -h ${github_commit} -o "mongodb" -n "mongo-go-driver" | ||
|
|
||
| "backport pr": | ||
| - command: subprocess.exec | ||
| type: test | ||
|
|
@@ -936,8 +910,6 @@ tasks: | |
| allowed_requesters: ["patch", "github_pr"] | ||
| commands: | ||
| - func: assume-test-secrets-ec2-role | ||
| - func: "add PR reviewer" | ||
| - func: "add PR labels" | ||
| - func: "create-api-report" | ||
|
|
||
| - name: backport-pr | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @mongodb/dbx-go |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,14 @@ | ||
|
|
||
| priority-3-low: | ||
| - changed-files: | ||
| - any-glob-to-any-file: '*' | ||
|
|
||
| documentation: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - any-glob-to-any-file: | ||
| - docs/** | ||
| - examples/** | ||
|
|
||
| dependencies: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - any-glob-to-any-file: | ||
| - go.mod |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - ignore-for-release | ||
| - github_actions | ||
| - submodules | ||
| authors: | ||
| - mongodb-drivers-pr-bot | ||
| categories: | ||
| - title: ⚠️ Breaking Changes | ||
| labels: | ||
| - breaking | ||
| - title: ✨ New Features | ||
| labels: | ||
| - enhancement | ||
| - feature | ||
| - title: 🐛 Fixed | ||
| labels: | ||
| - bug | ||
| - title: 📦 Dependency Updates | ||
| labels: | ||
| - dependencies | ||
| - title: 📝 Other Changes | ||
| labels: | ||
| - "*" |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Label Checker | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - synchronize | ||
| - reopened | ||
| - labeled | ||
| - unlabeled | ||
|
|
||
| jobs: | ||
| check_labels: | ||
| name: Check labels | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: docker://agilepathway/pull-request-label-checker:latest | ||
| with: | ||
| one_of: bug,feature,enhancement,documentation,dependencies | ||
| repo_token: ${{ secrets.GITHUB_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| name: "Pull Request Labeler" | ||
| on: | ||
| - pull_request_target | ||
|
|
||
| jobs: | ||
| labeler: | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/labeler@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional: You can also remove the
apply-labels.shscript.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't quite sure if those tools were still used by another driver. I'll confirm with @blink1073 and will remove from DET if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK the go driver was the only one using the script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't notice it was in a different repo! Yeah, checking with all the drivers is a lot more work. Maybe make a DRIVERS ticket to clean up unused scripts?