Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:staging<-main #652

Merged
merged 4 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/close-stale-prs.yml
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 }}
17 changes: 17 additions & 0 deletions .happy/catalog-info.yaml
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
12 changes: 8 additions & 4 deletions .happy/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,35 @@
"aws_profile": "single-cell-dev",
"secret_arn": "happy/env-rdev-config",
"terraform_directory": ".happy/terraform/envs/rdev",
"log_group_prefix": "/explorer/rdev"
"log_group_prefix": "/explorer/rdev",
"task_launch_type": "fargate"
},
"dev": {
"aws_profile": "single-cell-dev",
"secret_arn": "happy/env-explorer-dev-config",
"terraform_directory": ".happy/terraform/envs/dev",
"delete_protected": false,
"auto_run_migrations": false,
"log_group_prefix": "/explorer/dev"
"log_group_prefix": "/explorer/dev",
"task_launch_type": "fargate"
},
"stage": {
"aws_profile": "single-cell-dev",
"secret_arn": "happy/env-explorer-staging-config",
"terraform_directory": ".happy/terraform/envs/staging",
"delete_protected": false,
"auto_run_migrations": false,
"log_group_prefix": "/explorer/staging"
"log_group_prefix": "/explorer/staging",
"task_launch_type": "fargate"
},
"prod": {
"aws_profile": "single-cell-prod",
"secret_arn": "happy/env-explorer-prod-config",
"terraform_directory": ".happy/terraform/envs/prod",
"delete_protected": false,
"auto_run_migrations": false,
"log_group_prefix": "/explorer/prod"
"log_group_prefix": "/explorer/prod",
"task_launch_type": "fargate"
}
},
"tasks": {
Expand Down
Loading