Add CODEOWNERS, MAINTAINERS.md, and issue auto-acknowledgement
Auto-requests review from the code owner, documents additional maintainers who are not auto-requested, and posts a thank-you comment linking to CONTRIBUTING on new issues from non-maintainers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
aneshlya
co-authored by
Claude Opus 4.8
parent
49f8aa71b2
commit
2627f358c3
@@ -0,0 +1,11 @@
|
||||
# CODEOWNERS for ISPC
|
||||
#
|
||||
# Each line is a file pattern followed by one or more owners.
|
||||
# Owners listed here are automatically requested for review on matching PRs.
|
||||
# See: https://docs.github.com/en/repositories/managing-your-repos-settings-and-features/customizing-your-repository/about-code-owners
|
||||
#
|
||||
# Additional maintainers who are NOT auto-requested for review are listed in
|
||||
# MAINTAINERS.md.
|
||||
|
||||
# Default owner for everything in the repo.
|
||||
* @aneshlya
|
||||
@@ -0,0 +1,44 @@
|
||||
## Copyright 2026 Intel Corporation
|
||||
## SPDX-License-Identifier: BSD-3-Clause
|
||||
name: Issue Auto-Acknowledgement
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
acknowledge:
|
||||
# Only run in the main ispc/ispc repo, and skip issues opened by
|
||||
# maintainers and prior contributors (they don't need the triage reminder).
|
||||
if: >-
|
||||
github.repository == 'ispc/ispc' &&
|
||||
github.event.issue.author_association != 'OWNER' &&
|
||||
github.event.issue.author_association != 'MEMBER' &&
|
||||
github.event.issue.author_association != 'COLLABORATOR' &&
|
||||
github.event.issue.author_association != 'CONTRIBUTOR'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
steps:
|
||||
- name: Post acknowledgement comment
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
const issue = context.payload.issue;
|
||||
const body = [
|
||||
`Thanks for filing this issue, @${issue.user.login}! A maintainer will triage it soon.`,
|
||||
``,
|
||||
`To help us address it faster, please make sure your report follows the ` +
|
||||
`guidelines in [CONTRIBUTING](https://github.com/ispc/ispc/blob/main/CONTRIBUTING.md).`,
|
||||
].join('\n');
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: issue.number,
|
||||
body,
|
||||
});
|
||||
@@ -0,0 +1,17 @@
|
||||
# Maintainers
|
||||
|
||||
The following people maintain ISPC. Code review for PRs is automatically
|
||||
requested from the code owner listed in
|
||||
[.github/CODEOWNERS](.github/CODEOWNERS); the additional maintainers below are
|
||||
not auto-requested but are happy to help - feel free to mention them on
|
||||
relevant issues and pull requests.
|
||||
|
||||
## Code owner
|
||||
|
||||
- @aneshlya
|
||||
|
||||
## Additional maintainers
|
||||
|
||||
- @dbabokin
|
||||
- @nurmukhametov
|
||||
- @azwolski
|
||||
Reference in New Issue
Block a user