mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
264678e9be
fixes https://github.com/TryGhost/Toolbox/issues/285 - without this, some of the workflows that are only useful for the core team will run on forks - this commit adds checks to ensure we're running on a repo maintained by the TryGhost organization for a handful of workflows
27 lines
1.3 KiB
YAML
27 lines
1.3 KiB
YAML
name: 'Close stale issues and PRs'
|
||
on:
|
||
schedule:
|
||
- cron: '0 15 * * *'
|
||
jobs:
|
||
stale:
|
||
if: github.repository_owner == 'TryGhost'
|
||
runs-on: ubuntu-latest
|
||
steps:
|
||
- uses: actions/stale@v5
|
||
with:
|
||
stale-issue-message: |
|
||
Our bot has automatically marked this issue as stale because there has not been any activity here in some time.
|
||
|
||
The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR.
|
||
|
||
We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂
|
||
stale-pr-message: |
|
||
Our bot has automatically marked this PR as stale because there has not been any activity here in some time.
|
||
|
||
If we’ve missed reviewing your PR & you’re still interested in working on it, please let us know. Otherwise this PR will be closed shortly, but can always be reopened later. Thank you for understanding 🙂
|
||
exempt-issue-labels: 'feature,pinned'
|
||
exempt-pr-labels: 'feature,pinned'
|
||
days-before-stale: 120
|
||
stale-issue-label: 'stale'
|
||
stale-pr-label: 'stale'
|