Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,28 +219,6 @@ functions:
HEAD_SHA: "${github_commit}"
args: [*task-runner, api-report]

"add PR labels":
- command: subprocess.exec
type: test
params:
binary: bash
add_expansions_to_env: true
env:
COMMIT: "${github_commit}"
PR_TASK: apply-labels
args: [*task-runner, pr-task]

"add PR reviewer":
- command: subprocess.exec
type: test
params:
binary: bash
add_expansions_to_env: true
env:
COMMIT: "${github_commit}"
PR_TASK: assign-reviewer
args: [*task-runner, pr-task]

"backport pr":
- command: subprocess.exec
type: test
Expand Down Expand Up @@ -669,8 +647,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
Expand Down
5 changes: 2 additions & 3 deletions .github/labeler.yml
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
16 changes: 10 additions & 6 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@ changelog:
exclude:
labels:
- ignore-for-release
- github_actions
- submodules
authors:
- mongodb-drivers-pr-bot
categories:
- title: Breaking Changes 🛠
- title: ⚠️ Breaking Changes
labels:
- breaking-change
- title: New Features
- breaking
- title: New Features
labels:
- enhancement
- title: Fixed
- feature
- title: 🐛 Fixed
labels:
- bug
- fixed
- title: Other Changes
- title: 📦 Dependency Updates
labels:
- dependencies
- title: 📝 Other Changes
labels:
- "*"
3 changes: 0 additions & 3 deletions .github/reviewers.txt

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/check-labels.yml
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 }}
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
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
Loading