Skip to content

Commit 8391dfb

Browse files
authored
Create unassign-stale.yml
Switching the automation to shim that calls the central one
1 parent cfaa937 commit 8391dfb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Unassign stale PR assignees
2+
on:
3+
schedule:
4+
- cron: "*/15 * * * *"
5+
workflow_dispatch:
6+
inputs:
7+
enabled: { type: boolean, default: true }
8+
max_age_minutes: { type: number, default: 60 }
9+
dry_run: { type: boolean, default: false }
10+
11+
permissions:
12+
pull-requests: write
13+
issues: write
14+
contents: read
15+
16+
jobs:
17+
call:
18+
uses: ServiceNowDevProgram/Hacktoberfest/.github/workflows/unassign-stale.yml@main
19+
with:
20+
enabled: ${{ inputs.enabled }}
21+
max_age_minutes: ${{ inputs.max_age_minutes }}
22+
dry_run: ${{ inputs.dry_run }}
23+
secrets: inherit

0 commit comments

Comments
 (0)