mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Add Assign Issue workflow (#10408)
Allow users to assign issues to themselves. I don't know if its comments (i.e. unassigning) affects orca bot's inactivity and stale. Probably. I didn't see a way for actions/stale to exempt particular comments. This is set for 30 days and stale for 90 days, so if people are using this the stale timing can jump up to 120 days.
This commit is contained in:
24
.github/workflows/assign.yml
vendored
Normal file
24
.github/workflows/assign.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Assign Issue
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: 0 0 * * *
|
||||
issue_comment:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
assign:
|
||||
permissions:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Assign the user or unassign stale assignments
|
||||
uses: takanome-dev/assign-issue-action@v2.2
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
maintainers: 'noisyfox,softfever'
|
||||
days_until_unassign: 30
|
||||
block_assignment: false
|
||||
reminder_days: 7
|
||||
max_assignments: 12
|
||||
Reference in New Issue
Block a user