Skip to content

Commit 007a68e

Browse files
committed
✨  initial commit
1 parent c52cf77 commit 007a68e

13 files changed

+1172
-0
lines changed

.github/code_of_conduct.md

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# Contributor Covenant Code of Conduct for Pedants
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment‑free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socioeconomic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
<!-- TOC depthFrom:2 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
16+
17+
- [Our Pledge](#our-pledge)
18+
- [Our Standards](#our-standards)
19+
- [Enforcement Responsibilities](#enforcement-responsibilities)
20+
- [Scope](#scope)
21+
- [Enforcement](#enforcement)
22+
- [Enforcement Guidelines](#enforcement-guidelines)
23+
1. [Correction](#1-correction)
24+
1. [Warning](#2-warning)
25+
1. [Temporary Ban](#3-temporary-ban)
26+
1. [Permanent Ban](#4-permanent-ban)
27+
- [Attribution](#attribution)
28+
29+
<!-- /TOC -->
30+
31+
## Our Standards
32+
33+
Examples of behavior that contributes to a positive environment for our
34+
community&nbsp;include:
35+
36+
* Demonstrating empathy and kindness toward other&nbsp;people
37+
* Being respectful of differing opinions, viewpoints, and&nbsp;experiences
38+
* Giving and gracefully accepting constructive&nbsp;feedback
39+
* Accepting responsibility and apologizing to those affected by our mistakes,
40+
and learning from the&nbsp;experience
41+
* Focusing on what is best not just for us as individuals, but for the
42+
overall&nbsp;community
43+
44+
Examples of unacceptable behavior&nbsp;include:
45+
46+
* The use of sexualized language or imagery, and sexual attention or advances
47+
of any&nbsp;kind
48+
* Trolling, insulting or derogatory comments, and personal or
49+
political&nbsp;attacks
50+
* Public or private&nbsp;harassment
51+
* Publishing others’ private information, such as a physical or email address,
52+
without their explicit&nbsp;permission
53+
* Other conduct which could reasonably be considered inappropriate in a
54+
professional&nbsp;setting
55+
56+
## Enforcement Responsibilities
57+
58+
Community leaders are responsible for clarifying and enforcing our standards of
59+
acceptable behavior and will take appropriate and fair corrective action in
60+
response to any behavior that they deem inappropriate, threatening, offensive,
61+
or&nbsp;harmful.
62+
63+
Community leaders have the right and responsibility to remove, edit, or reject
64+
comments, commits, code, wiki edits, issues, and other contributions that are
65+
not aligned to this Code of Conduct, and will communicate reasons for
66+
moderation decisions when&nbsp;appropriate.
67+
68+
## Scope
69+
70+
This Code of Conduct applies within all community spaces, and also applies when
71+
an individual is officially representing the community in public&nbsp;spaces.
72+
Examples of representing our community include using an official email address,
73+
posting via an official social media account, or acting as an appointed
74+
representative at an online or offline&nbsp;event.
75+
76+
## Enforcement
77+
78+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
79+
reported to the community leaders responsible for enforcement
80+
at&nbsp;[github@LucasLarson.net](mailto:github@LucasLarson.net). All complaints
81+
will be reviewed and investigated promptly and&nbsp;fairly.
82+
83+
All community leaders are obligated to respect the privacy and security of the
84+
reporter of any&nbsp;incident.
85+
86+
## Enforcement Guidelines
87+
88+
Community leaders will follow these Community Impact Guidelines in determining
89+
the consequences for any action they deem in violation of this Code
90+
of&nbsp;Conduct:
91+
92+
### 1. Correction
93+
94+
**Community Impact**: Use of inappropriate language or other behavior deemed
95+
unprofessional or unwelcome in the&nbsp;community.
96+
97+
**Consequence**: A private, written warning from community leaders, providing
98+
clarity around the nature of the violation and an explanation of why the
99+
behavior was&nbsp;inappropriate. A public apology may be&nbsp;requested.
100+
101+
### 2. Warning
102+
103+
**Community Impact**: A violation through a single incident or series
104+
of&nbsp;actions.
105+
106+
**Consequence**: A warning with consequences for continued&nbsp;behavior. No
107+
interaction with the people involved, including unsolicited interaction with
108+
those enforcing the Code of Conduct, for a specified period of&nbsp;time. This
109+
includes avoiding interactions in community spaces as well as external channels
110+
like social&nbsp;media. Violating these terms may lead to a temporary or
111+
permanent&nbsp;ban.
112+
113+
### 3. Temporary Ban
114+
115+
**Community Impact**: A serious violation of community standards, including
116+
sustained inappropriate&nbsp;behavior.
117+
118+
**Consequence**: A temporary ban from any sort of interaction or public
119+
communication with the community for a specified period of&nbsp;time. No public
120+
or private interaction with the people involved, including unsolicited
121+
interaction with those enforcing the Code of Conduct, is allowed during
122+
this&nbsp;period. Violating these terms may lead to a permanent&nbsp;ban.
123+
124+
### 4. Permanent Ban
125+
126+
**Community Impact**: Demonstrating a pattern of violation of community
127+
standards, including sustained inappropriate behavior, harassment of an
128+
individual, or aggression toward or disparagement of classes
129+
of&nbsp;individuals.
130+
131+
**Consequence**: A permanent ban from any sort of public interaction within
132+
the&nbsp;community.
133+
134+
## Attribution
135+
136+
This Code of Conduct is adapted from the [Contributor Covenant,
137+
version&nbsp;2.0](https://contributor-covenant.org/version/2/0/code_of_conduct).
138+
139+
Community Impact Guidelines were inspired by [Mozilla’s code of conduct
140+
enforcement&nbsp;ladder](https://github.com/mozilla/inclusion/blob/master/code-of-conduct-enforcement/consequence-ladder.md#readme).
141+
142+
For answers to common questions about this code of conduct, see
143+
[the&nbsp;FAQ](https://contributor-covenant.org/faq). [Translations
144+
are&nbsp;available](https://contributor-covenant.org/translations).

.github/codeowners

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @LucasLarson

.github/dependabot.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
# To get started with Dependabot version updates, you'll need to specify which
3+
# package ecosystems to update and where the package manifests are located.
4+
# Please see the documentation for all configuration options:
5+
# https://git.io/help-dependabot-configuration
6+
7+
version: 2
8+
updates:
9+
10+
# Bundler
11+
- package-ecosystem: "bundler"
12+
directory: "/"
13+
schedule:
14+
interval: "daily"
15+
16+
# Cargo
17+
- package-ecosystem: "cargo"
18+
directory: "/"
19+
schedule:
20+
interval: "daily"
21+
22+
# Composer
23+
- package-ecosystem: "composer"
24+
directory: "/"
25+
schedule:
26+
interval: "daily"
27+
28+
# Docker
29+
- package-ecosystem: "docker"
30+
directory: "/"
31+
schedule:
32+
interval: "daily"
33+
34+
# Elm
35+
- package-ecosystem: "elm"
36+
directory: "/"
37+
schedule:
38+
interval: "daily"
39+
40+
# git submodules
41+
- package-ecosystem: "gitsubmodule"
42+
directory: "/"
43+
schedule:
44+
interval: "daily"
45+
46+
# GitHub Actions
47+
- package-ecosystem: "github-actions"
48+
directory: "/"
49+
schedule:
50+
interval: "daily"
51+
52+
# Go modules
53+
- package-ecosystem: "gomod"
54+
directory: "/"
55+
schedule:
56+
interval: "daily"
57+
58+
# Gradle
59+
- package-ecosystem: "gradle"
60+
directory: "/"
61+
schedule:
62+
interval: "daily"
63+
64+
# Maven
65+
- package-ecosystem: "maven"
66+
directory: "/"
67+
schedule:
68+
interval: "daily"
69+
70+
# Mix
71+
- package-ecosystem: "mix"
72+
directory: "/"
73+
schedule:
74+
interval: "daily"
75+
76+
# npm
77+
- package-ecosystem: "npm"
78+
directory: "/"
79+
schedule:
80+
interval: "daily"
81+
82+
# NuGet
83+
- package-ecosystem: "nuget"
84+
directory: "/"
85+
schedule:
86+
interval: "daily"
87+
88+
# pip
89+
- package-ecosystem: "pip"
90+
directory: "/"
91+
schedule:
92+
interval: "daily"
93+
94+
# Terraform
95+
- package-ecosystem: "terraform"
96+
directory: "/"
97+
schedule:
98+
interval: "daily"

.github/funding.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
github: LucasLarson
3+
patreon: lucaslarson
4+
open_collective: lucaslarson
5+
ko_fi: lucaslarson
6+
tidelift: # 1 Tidelift platform-name/package-name like `npm/babel`
7+
community_bridge: # 1 Community Bridge project-name like `cloud-foundry`
8+
liberapay: LucasLarson
9+
issuehunt: lucaslarson
10+
otechie: # 1 Otechie username
11+
custom: # ≤ 4 custom sponsorship URLs like `['link1', 'link2']`

.github/workflows/changelog.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Changelog
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 4
13+
if: "!contains(github.event.head_commit.message, '[ci skip]')"
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Ruby
17+
uses: actions/setup-ruby@v1
18+
with:
19+
ruby-version: 2.7.x
20+
- uses: actions/cache@v2
21+
with:
22+
path: vendor/bundle
23+
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
24+
restore-keys: |
25+
${{ runner.os }}-gem-
26+
- name: Create local changes
27+
run: |
28+
gem install github_changelog_generator
29+
github_changelog_generator \
30+
-u "${{ github.repository_owner }}" \
31+
-p "$(git rev-parse --show-toplevel | xargs basename)" \
32+
-t "${{ secrets.GITHUB_TOKEN }}" \
33+
--exclude-labels duplicate,question,invalid,wontfix,nodoc \
34+
--output changelog.md
35+
- name: Commit files
36+
run: |
37+
git config --local user.email "action@github.com" && \
38+
git config --local user.name "GitHub" && \
39+
git add --verbose --all && \
40+
git commit --verbose --message '[ci skip] Updating changelog'
41+
- name: Push changes
42+
uses: ad-m/github-push-action@v0.6.0
43+
with:
44+
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
branch: ${{ github.ref }}

.github/workflows/super-linter.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
#################################
3+
#################################
4+
## Super-Linter GitHub Actions ##
5+
#################################
6+
#################################
7+
name: Super-Linter
8+
9+
#
10+
# Documentation:
11+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
12+
#
13+
14+
#############################
15+
# Start the job on all push #
16+
#############################
17+
on:
18+
push:
19+
pull_request:
20+
branches: [main]
21+
22+
###############
23+
# Set the Job #
24+
###############
25+
jobs:
26+
build:
27+
# Name the Job
28+
name: Lint Code Base
29+
# Set the agent to run on
30+
runs-on: ubuntu-latest
31+
32+
##################
33+
# Load all steps #
34+
##################
35+
steps:
36+
##########################
37+
# Checkout the code base #
38+
##########################
39+
- name: Checkout Code
40+
uses: actions/checkout@v2
41+
with:
42+
# Full history is needed to analyze changed files
43+
fetch-depth: 0
44+
45+
################################
46+
# Run Linter against code base #
47+
################################
48+
- name: Lint Code Base
49+
uses: github/super-linter@v3
50+
env:
51+
VALIDATE_ALL_CODEBASE: false
52+
DEFAULT_BRANCH: main
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/yamllint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: YAML Lint
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
15+
yamllint:
16+
name: Lint YAML files
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
- name: YAML Lint
22+
uses: ibiqlik/action-yamllint@v3
23+
with:
24+
strict: true
25+
config_data: |
26+
extends: default
27+
rules:
28+
truthy:
29+
allowed-values: ['true', 'false', 'on']
30+
env:
31+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)