Skip to content

Commit

Permalink
feat: Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
staticaland committed Aug 29, 2023
1 parent 27c7ddf commit 6bfef86
Show file tree
Hide file tree
Showing 12 changed files with 634 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM homebrew/brew:latest

RUN brew install markdownlint-cli2 vale actionlint
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"build": { "dockerfile": "Dockerfile" },
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"DavidAnson.vscode-markdownlint",
"redhat.vscode-yaml",
"errata-ai.vale-server",
"ms-azuretools.vscode-docker",
"GitHub.vscode-github-actions"
]
}
}
}
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These owners will be the default owners for everything in the repo

* @oslokommune/kjoremiljo
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/default-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Default issue
about: 'Default issue'
title: ''
labels: ''
assignees: ''

---

# Description

<!-- More description in case title is not enough. A good description can be understood by everyone in the
team at present time and in the future. -->

# Motivation

<!-- Why do we want to do what the issue describes? This is essential when we want to understand our
decisions in the future. -->
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/.github/workflows"
schedule:
interval: "daily"
commit-message:
prefix: deps

- package-ecosystem: "github-actions"
directory: "/templates"
schedule:
interval: "daily"
commit-message:
prefix: deps
63 changes: 63 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---

rules:

braces:
level: warning
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: 1
max-spaces-inside-empty: 5

brackets:
level: warning
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: 1
max-spaces-inside-empty: 5

colons:
level: warning
max-spaces-before: 0
max-spaces-after: 1

commas:
level: warning
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1

comments: disable

comments-indentation: disable

document-end: disable

document-start: disable

empty-lines:
level: warning
max: 2
max-start: 0
max-end: 0

hyphens:
level: warning
max-spaces-after: 1

indentation:
level: warning
spaces: consistent
indent-sequences: true
check-multi-line-strings: false

key-duplicates: enable

line-length: disable

new-line-at-end-of-file: disable

new-lines:
type: unix

trailing-spaces: disable
31 changes: 31 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here using the syntax: 'Closes #123' -->

## How to prove the effect of this PR?
<!--- Please describe in detail how verify the change you have done. -->
<!--- In the context of a bug fix, this should include how to reproduce the bug. -->
<!--- In the context of a feature, this should include how to demonstrate the feature. -->
<!--- In the event of a pure code refactoring, just ignore this section -->

## Additional info
<!--- Ignore if not relevant -->
<!--- For example screenshots -->

## Is this a breaking change?
<!--- Does the change require the user to change something on their side? -->

- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Checklist
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My change requires a change to the documentation, and I have updated the documentation accordingly.

<!-- markdownlint-disable-file MD041 -->
Loading

0 comments on commit 6bfef86

Please sign in to comment.