Skip to content

Commit

Permalink
ci: implement 'stale' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
seantrane committed Apr 13, 2023
1 parent c517f41 commit cc86ca9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
name: Repository Maintenance

on:
schedule:
- cron: '0 9 * * 2' # 9am every Tuesday
label:
types: [created, edited, deleted]
push:
branches: [main]
paths:
- labels.json
- .github/labels.json
- .github/workflows/maintenance.yml
workflow_dispatch:

Expand All @@ -16,7 +17,7 @@ concurrency:
cancel-in-progress: true

permissions:
contents: read
contents: write # only for delete-branch
issues: write
pull-requests: write
repository-projects: write
Expand All @@ -26,3 +27,6 @@ jobs:
uses: seantrane/engineering/.github/workflows/label-sync.yml@main
with:
config: ./labels.json

stale:
uses: seantrane/engineering/.github/workflows/stale.yml@main

0 comments on commit cc86ca9

Please sign in to comment.