Skip to content

Commit

Permalink
feat!: Initial commit
Browse files Browse the repository at this point in the history
Signed-off-by: Joke de Buhr <[email protected]>
  • Loading branch information
joke committed Apr 2, 2022
0 parents commit 6b42fc1
Show file tree
Hide file tree
Showing 12 changed files with 411 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @joke
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
commit-message:
prefix: chore
include: scope
6 changes: 6 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
titleOnly: false
commitsOnly: false
titleAndCommits: true
anyCommit: false
allowMergeCommits: false
allowRevertCommits: true
41 changes: 41 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
repository:
name: template
description: template repository with replease-please pipeline
topics: github, template
private: false
has_issues: true
has_projects: false
has_wiki: false
has_downloads: true
default_branch: main
allow_squash_merge: false
allow_merge_commit: false
allow_rebase_merge: true
allow_auto_merge: true
allow_update_branch: true
delete_branch_on_merge: true
enable_automated_security_fixes: true
enable_vulnerability_alerts: true

branches:
- name: main
protection:
required_pull_request_reviews:
required_approving_review_count: 1
dismiss_stale_reviews: true
require_code_owner_reviews: true
required_status_checks:
strict: true
checks:
- context: build
app_id: 15368
- context: pre-commit.ci - pr
app_id: 68672
- context: Semantic Pull Request
app_id: 9517
- context: DCO
app_id: 1861
enforce_admins: false
required_linear_history: true
drestrictions:
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: build

on:
- pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: asdf-vm/actions/install@v1
- uses: actions/setup-java@v2
with:
java-version: 8
distribution: zulu
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: release

on:
push:
branches:
- main

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: GoogleCloudPlatform/[email protected]
id: release
with:
release-type: simple

publish:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ needs.jobs.release-please.steps.release.outputs.tag_name }}
- uses: actions/setup-python@v3
- uses: asdf-vm/actions/install@v1
- uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: detect-private-key
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.3.0
hooks:
- id: pretty-format-yaml
args:
- --autofix
- --indent
- '2'
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v1.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
ci:
autofix_commit_msg: 'chore: pre-commit auto fixes'
autoupdate_commit_msg: 'chore: pre-commit autoupdate'
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit 2.17.0
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Changelog

### [1.0.6](https://github.com/joke/template/compare/v1.0.5...v1.0.6) (2022-03-20)


### Bug Fixes

* publish via release please 7 ([86445e6](https://github.com/joke/template/commit/86445e6d9cad845c20745e267b2485beeb86d1a6))
* publish via release please 8 ([#16](https://github.com/joke/template/issues/16)) ([fe37d22](https://github.com/joke/template/commit/fe37d22c5a0c8f810042a7695a1b6ea65329205b))

### [1.0.5](https://github.com/joke/template/compare/v1.0.4...v1.0.5) (2022-03-20)


### Bug Fixes

* publish via release please ([68fc89b](https://github.com/joke/template/commit/68fc89be59403c3f9857a76caa701622deb0e0ab))
* publish via release please 5 ([5456aaa](https://github.com/joke/template/commit/5456aaa483e0d2c33b797ce66a34bd81311144ac))
* publish via release please 6 ([15cc2e4](https://github.com/joke/template/commit/15cc2e45d3f16a04fec89b7fc82ba9f805b28a7b))

### [1.0.4](https://github.com/joke/template/compare/v1.0.3...v1.0.4) (2022-03-20)


### Bug Fixes

* publish via release please ([7fc1848](https://github.com/joke/template/commit/7fc18483e64c7af7151429ba7041dc4bd6da2838))
* publish via release please ([ef5898c](https://github.com/joke/template/commit/ef5898c60c6682d3004319a7d90e4526bd4a2330))

### [1.0.3](https://github.com/joke/template/compare/v1.0.2...v1.0.3) (2022-03-20)


### Bug Fixes

* publish via release please ([dd9d96b](https://github.com/joke/template/commit/dd9d96be5f4a26176e50468aaa37af33e3f7c9b0))

### [1.0.2](https://github.com/joke/template/compare/v1.0.1...v1.0.2) (2022-03-20)


### Bug Fixes

* publish via release please ([bdbff3c](https://github.com/joke/template/commit/bdbff3c4a537cc38608f15bf2fca3d58b648976f))

### [1.0.1](https://github.com/joke/template/compare/v1.0.0...v1.0.1) (2022-03-20)


### Bug Fixes

* publish via release please ([a0251aa](https://github.com/joke/template/commit/a0251aa585e856f8cbf91bf8f76b0f59f6ad2867))
* publish via release please ([#7](https://github.com/joke/template/issues/7)) ([f2da45c](https://github.com/joke/template/commit/f2da45caf42912b5582cff7d2dc25578a08edf0a))

## 1.0.0 (2022-03-19)


### Bug Fixes

* release please ([88b37dd](https://github.com/joke/template/commit/88b37dd94870647fe8a44c1d4b95554b0b56ce41))
* workflow ([#5](https://github.com/joke/template/issues/5)) ([87a5716](https://github.com/joke/template/commit/87a5716d2ac0f79c21e5f101e37778e4eae3c5e7))
9 changes: 9 additions & 0 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
= Contributing Guidelines

This project accepts contributions via GitHub pull requests.
This document outlines the process to help get your contribution accepted.

== Pull Request Checklist

* Write commit messages in the style of https://www.conventionalcommits.org/en/v1.0.0/[Conventional Commits].
* Accept the https://developercertificate.org/[Developer Certificate of Origin (DCO)] by https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff[signing off] your commits.
Loading

0 comments on commit 6b42fc1

Please sign in to comment.