Skip to content

Commit

Permalink
chore: setup repo
Browse files Browse the repository at this point in the history
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Mar 18, 2024
1 parent af68265 commit 25b430b
Show file tree
Hide file tree
Showing 15 changed files with 8,499 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
paths-ignore:
- '**/__tests__/**'
- '**/tests/**'
32 changes: 32 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CodeQL

on:
pull_request:
branches:
- main
schedule:
- cron: '0 13 * * 6' # At 13:00 on Saturday

permissions: {}

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
# See: https://github.com/github/codeql-action/blob/008b2cc71c4cf3401f45919d8eede44a65b4a322/README.md#usage
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Initialize CodeQL
uses: github/codeql-action/init@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
with:
languages: 'javascript'
config-file: ./.github/codeql/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
22 changes: 22 additions & 0 deletions .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Renovate Config Validator

on:
pull_request:
paths:
- './renovate.json'

permissions: {}

jobs:
main:
name: Main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20 # LTS
- name: Validate Renovate config
run: npx -p renovate --yes renovate-config-validator
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
*~
#*#
28 changes: 28 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Contributing

Thanks for your interest in contibuting to the project! Unfortunately, we are not currently accepting external pull requests.

This document explains the internal workflow adopted by the maintainers of this project.

## Contribution workflow

This project uses a pull request-based workflow.

The following branches are protected from direct push of commits:

- `main` (default branch)
This branch will contain the latest deployable (though not necessarily released) version of the project

- `<y>.x`
Branches where `<y>` is replaced with a version number (e.g. `1.x`) are branches which carry an deployable (though not necessarily released), older or upcoming major version of the project.

All contributions are done on a fork or a separate branch with the parent being one of the above. The parent branch will be dependent on the major version that you'd wish to submit changes to.

## Writing a commit

This project uses Conventional Commits.

## Creating a pull request

#TODO

4 changes: 4 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Developing

This document details how to develop and build this project.

20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SBE Mental Health App

A proof of concept application created by the SBE Innovation Team, part of the SBE NSF Council.

## Security

See [SECURITY.md](./SECURITY.md).

### Long-Term Support

This project does not adopt any long term support policy.

## Contributing

External pull requests are not currently being accepted. Our internal contribution workflow is documented in [CONTIRBUTING.md](./CONTRIBUTING.md).

## Developing

Instructions for building and developing this appication is provided in [DEVELOPING.md](./DEVELOPING.md).

7 changes: 7 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.0",
"packages": [
"packages/*"
]
}
Loading

0 comments on commit 25b430b

Please sign in to comment.