mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-15 04:30:55 +08:00
Bot: label maintainer-opened issues, silently
Closes #15. Issues opened by the maintainer now go through the same classification and label application but without the triage comment or reaction. Visitors keep the full behavior; mentions and PR first-looks stay maintainer-off.
This commit is contained in:
@@ -15,11 +15,14 @@ permissions:
|
||||
|
||||
jobs:
|
||||
reply:
|
||||
# Serves visitors only: never react to the maintainer, to bots, or to itself.
|
||||
# Issue opening is always handled (the maintainer gets silent labeling,
|
||||
# visitors get the full triage). Comments and PRs serve visitors only:
|
||||
# never react to the maintainer, to bots, or to itself.
|
||||
if: >
|
||||
github.actor != 'BaaRai' &&
|
||||
github.actor != 'github-actions[bot]' &&
|
||||
github.actor != 'dependabot[bot]'
|
||||
github.event_name == 'issues' ||
|
||||
(github.actor != 'BaaRai' &&
|
||||
github.actor != 'github-actions[bot]' &&
|
||||
github.actor != 'dependabot[bot]')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user