-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:bitwarden/contributing-docs into ps…
…/migrations # Conflicts: # docs/getting-started/server/database/mssql/index.md
- Loading branch information
Showing
60 changed files
with
6,091 additions
and
3,189 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,6 @@ | ||
HTTPS=true | ||
|
||
# Generate via ./scripts/generate-certs, or mkcert | ||
# (see: https://docusaurus.io/docs/cli#enabling-https) | ||
SSL_CRT_FILE=ssl.crt | ||
SSL_KEY_FILE=ssl.key |
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 |
---|---|---|
@@ -1,3 +1,33 @@ | ||
## Objective | ||
## 🎟️ Tracking | ||
|
||
<!--Describe what the purpose of this PR is.--> | ||
<!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> | ||
|
||
## 📔 Objective | ||
|
||
<!-- Describe what the purpose of this PR is, for example what bug you're fixing or new feature you're adding. --> | ||
|
||
## ⏰ Reminders before review | ||
|
||
- Contributor guidelines followed | ||
- All formatters and local linters executed and passed | ||
- Written new unit and / or integration tests where applicable | ||
- Protected functional changes with optionality (feature flags) | ||
- Used internationalization (i18n) for all UI strings | ||
- CI builds passed | ||
- Communicated to DevOps any deployment requirements | ||
- Updated any necessary documentation (Confluence, contributing docs) or informed the documentation | ||
team | ||
|
||
## 🦮 Reviewer guidelines | ||
|
||
<!-- Suggested interactions but feel free to use (or not) as you desire! --> | ||
|
||
- 👍 (`:+1:`) or similar for great changes | ||
- 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info | ||
- ❓ (`:question:`) for questions | ||
- 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed | ||
issue and could potentially benefit from discussion | ||
- 🎨 (`:art:`) for suggestions / improvements | ||
- ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention | ||
- 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt | ||
- ⛏ (`:pick:`) for minor or nitpick changes |
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
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
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
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,75 @@ | ||
name: Scan | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "main" | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
check-run: | ||
name: Check PR run | ||
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main | ||
|
||
sast: | ||
name: SAST scan | ||
runs-on: ubuntu-22.04 | ||
needs: check-run | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
security-events: write | ||
|
||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Scan with Checkmarx | ||
uses: checkmarx/ast-github-action@92b6d52097badece63efe997ffe75207010bb80c # 2.0.29 | ||
env: | ||
INCREMENTAL: | ||
"${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}" | ||
with: | ||
project_name: ${{ github.repository }} | ||
cx_tenant: ${{ secrets.CHECKMARX_TENANT }} | ||
base_uri: https://ast.checkmarx.net/ | ||
cx_client_id: ${{ secrets.CHECKMARX_CLIENT_ID }} | ||
cx_client_secret: ${{ secrets.CHECKMARX_SECRET }} | ||
additional_params: | | ||
--report-format sarif \ | ||
--filter "state=TO_VERIFY;PROPOSED_NOT_EXPLOITABLE;CONFIRMED;URGENT" \ | ||
--output-path . ${{ env.INCREMENTAL }} | ||
- name: Upload Checkmarx results to GitHub | ||
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11 | ||
with: | ||
sarif_file: cx_result.sarif | ||
|
||
quality: | ||
name: Quality scan | ||
runs-on: ubuntu-22.04 | ||
needs: check-run | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Scan with SonarCloud | ||
uses: sonarsource/sonarcloud-github-action@e44258b109568baa0df60ed515909fc6c72cba92 # v2.3.0 | ||
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
args: > | ||
-Dsonar.organization=${{ github.repository_owner }} -Dsonar.projectKey=${{ | ||
github.repository_owner }}_${{ github.event.repository.name }} |
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 |
---|---|---|
|
@@ -10,6 +10,10 @@ | |
|
||
# Misc | ||
.DS_Store | ||
*.crt | ||
*.key | ||
*.pem | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
v18 | ||
v20 |
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
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
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
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
Oops, something went wrong.