diff --git a/.github/assignment_configuration.yaml b/.github/assignment_configuration.yaml new file mode 100644 index 00000000..d3357549 --- /dev/null +++ b/.github/assignment_configuration.yaml @@ -0,0 +1,6 @@ +--- +addReviewers: true +addAssignees: author +reviewers: + - forstmeier + - chrisaddy diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 83e55083..8d356860 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,11 +5,11 @@ updates: directory: / schedule: interval: cron - cronjob: 0 8 * * * + cronjob: 0 8 * * MON timezone: America/New_York - package-ecosystem: cargo directory: / schedule: interval: cron - cronjob: 0 8 * * * + cronjob: 0 8 * * MON timezone: America/New_York diff --git a/.github/label_configuration.yaml b/.github/label_configuration.yaml new file mode 100644 index 00000000..bda8371d --- /dev/null +++ b/.github/label_configuration.yaml @@ -0,0 +1,25 @@ +--- +markdown: + - changed-files: + - any-glob-to-any-file: + - "**/*.md" + +python: + - changed-files: + - any-glob-to-any-file: + - "**/*.py" + - "**/pyproject.toml" + - "**/uv.lock" + +rust: + - changed-files: + - any-glob-to-any-file: + - "**/*.rs" + - "**/Cargo.toml" + - "**/Cargo.lock" + +yaml: + - changed-files: + - any-glob-to-any-file: + - "**/*.yml" + - "**/*.yaml" diff --git a/.github/workflows/assign_pull_request_reviewers.yaml b/.github/workflows/assign_pull_request_reviewers.yaml new file mode 100644 index 00000000..b1fc19a1 --- /dev/null +++ b/.github/workflows/assign_pull_request_reviewers.yaml @@ -0,0 +1,20 @@ +--- +name: Assign pull request reviewers +run-name: Assign pull request reviewers +on: + pull_request: + types: + - opened +jobs: + assign_pull_request_reviewers: + name: Assign pull request reviewers + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Assign pull request reviewers and assignees + uses: kentaro-m/auto-assign-action@v2.0.1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/assignment_configuration.yaml diff --git a/.github/workflows/label_pull_requests.yaml b/.github/workflows/label_pull_requests.yaml new file mode 100644 index 00000000..de73a888 --- /dev/null +++ b/.github/workflows/label_pull_requests.yaml @@ -0,0 +1,22 @@ +--- +name: Label pull requests +run-name: Label pull requests +on: + pull_request: + types: + - opened + - synchronize + - reopened +jobs: + label_pull_request: + name: Label pull request + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Label pull request + uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + configuration-path: .github/label_configuration.yaml diff --git a/.github/workflows/run_code_checks.yaml b/.github/workflows/run_code_checks.yaml index 97290dc1..31559825 100644 --- a/.github/workflows/run_code_checks.yaml +++ b/.github/workflows/run_code_checks.yaml @@ -1,6 +1,6 @@ --- -name: Code checks -run-name: Code checks +name: Run code checks +run-name: Run code checks on: pull_request: # Allows for Rust cache to be established on master branch