Skip to content

Commit

Permalink
Workflows, CODEOWNERS, Renovate, ...
Browse files Browse the repository at this point in the history
Create workflows, CODEOWNERS, Renovate, ...
  • Loading branch information
jonashendrickx authored Apr 14, 2024
2 parents e49f614 + cdd7e13 commit 0b01864
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Please sort into logical groups with comment headers. Sort groups in order of specificity.
# For example, default owners should always be the first group.
# Sort lines alphabetically within these groups to avoid accidentally adding duplicates.
#
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Default file owners
* @jonashendrickx
* @bitwarden/team-passwordless-dev

# DevOps for Actions and other workflow changes
.github/workflows @bitwarden/dept-devops
38 changes: 38 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!--
Thank you for contributing! Please follow the steps below to help us process your PR quickly.
- 📝 Use a meaningful title for the pull request, e.g: "PAS-XXX | short pr description"
- 💭 Write a clear description and share screenshots (if applicable) to help describe your change.
- 🔍 Not all sections below will apply to you and are mostly for our internal team. It's okay to delete them if they are not applicable.
-->

### Ticket
<!-- For Jira Tasks: (remove if external contributor) -->
- Closes [PAS-XXX](https://bitwarden.atlassian.net/browse/PAS-XXX)

<!-- For GitHub Issues: -->
<!-- - Closes #XXX -->


### Description
<!--
Introduction that should allow the reviewer to quickly be able to understand the reason for opening this PR.
-->

### Shape
<!--
Give a high-level overview of the technical design involved in the implemented changes.
If the changes don't have any architectural impact, you can remove this section.
-->

### Screenshots
<!--
Include any relevant UI screenshots showcasing the before & after of your changes.
If the changes don't have any UI impact, you can remove this section.
-->

### Checklist
I did the following to ensure that my changes were tested thoroughly:
- __

I did the following to ensure that my changes do not introduce security vulnerabilities:
- __
12 changes: 12 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>bitwarden/renovate-config"],
"enabledManagers": ["github-actions", "npm", "nuget"],
"packageRules": [
{
"groupName": "gh minor",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"]
}
]
}
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

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

- name: Setup .NET
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test
run: dotnet test --no-build --verbosity normal
12 changes: 12 additions & 0 deletions .github/workflows/workflow-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Workflow linter

on:
pull_request:
paths:
- .github/workflows/**

jobs:
call-workflow:
name: Lint
uses: bitwarden/gh-actions/.github/workflows/workflow-linter.yml@main

0 comments on commit 0b01864

Please sign in to comment.