-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add a Github Action that automatically closes stale PRs. (#647) * chore: add to software catalog (#649) * fix: override default so that issues are not marked as stale (#650) * chore: update happy config task launch type (#651) --------- Co-authored-by: maniarathi <arathi.mani@chanzuckerberg.com> Co-authored-by: Hayden Spitzley <105455169+hspitzley-czi@users.noreply.github.com> Co-authored-by: Daniel Hegeman <daniel.hegeman@chanzuckerberg.com>
- Loading branch information
1 parent
2a8496f
commit aa484d6
Showing
3 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Close inactive pull requests | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: -1 # Do not mark any issues as stale | ||
days-before-pr-stale: 14 | ||
days-before-pr-close: 3 | ||
stale-pr-message: "This PR has not seen any activity in the past 2 weeks; if no one comments or reviews it in the next 3 days, this PR will be closed." | ||
close-pr-message: "This PR was closed because it has been inactive for 17 days, 3 days since being marked as stale. Please re-open if you still need this to be addressed." | ||
stale-pr-label: "stale" | ||
close-pr-label: "autoclosed" | ||
exempt-draft-pr: true | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Component | ||
metadata: | ||
name: explorer | ||
annotations: | ||
github.com/project-slug: chanzuckerberg/single-cell-explorer | ||
backstage.io/source-location: url:https://github.com/chanzuckerberg/single-cell-explorer | ||
happy_app: "true" | ||
happy_directory: .happy | ||
links: | ||
- url: https://github.com/chanzuckerberg/single-cell-infra | ||
title: View Infra Source | ||
icon: github | ||
spec: | ||
type: service | ||
lifecycle: production | ||
owner: group:default/team-sci-sc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters