Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 11 additions & 24 deletions .github/.licenserc.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,26 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
header:
license:
spdx-id: Apache-2.0
copyright-owner: Nicolas Lamirault

# `paths` are the path list that will be checked (and fixed) by license-eye, default is ['**'].
paths:
- '**'
- "**"

# `paths-ignore` are the path list that will be ignored by license-eye.
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'DCO'
- 'CONTRIBUTING.md'
- '**/*.md'
- 'docs/images/*.svg'
- '**/*.lock'
- '**/_helpers.tpl'
- "README.md"
- "LICENSE"
- "DCO"
- "CONTRIBUTING.md"
- "**/*.md"
- "docs/images/*.svg"
- "**/*.lock"
- "**/_helpers.tpl"

# on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`.
comment: on-failure
Expand Down
17 changes: 2 additions & 15 deletions .github/actions/tools/action.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
name: portefaix
description: A GitHub Action with tools from the Kubernetes echosystem
author: Nicolas Lamirault
Expand Down
15 changes: 1 addition & 14 deletions .github/actions/tools/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
#!/bin/bash

# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

set -eu
Expand Down
23 changes: 5 additions & 18 deletions .github/issue_label_bot.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
label-alias:
bug: 'kind/bug'
feature_request: 'kind/feature'
question: 'kind/question'
bug: "kind/bug"
feature_request: "kind/feature"
question: "kind/question"
17 changes: 2 additions & 15 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
comment:
header: Hi, there.
footer: "---\n\n> This is an automated comment created by the [peaceiris/actions-label-commenter]. Responding to the bot
Expand Down
18 changes: 2 additions & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
# Labels for action/labeler

######################################
Expand All @@ -28,7 +15,6 @@ area/github:
- changed-files:
- any-glob-to-any-file: .github/**


######################################
# Label cloud/xxx

Expand Down
65 changes: 26 additions & 39 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,29 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
# labels to be used with /area command
area:
- 'kubernetes'
- 'terraform'
- 'ansible'
- 'inspec'
- 'github'
- "kubernetes"
- "terraform"
- "ansible"
- "inspec"
- "github"

kind:
- 'bug'
- 'documentation'
- 'discussion'
- 'feature'
- 'question'
- 'support'
- "bug"
- "documentation"
- "discussion"
- "feature"
- "question"
- "support"

priority:
- backlog
- 'low'
- 'medium'
- 'high'
- 'critical'
- "low"
- "medium"
- "high"
- "critical"

status:
- available
Expand All @@ -48,37 +35,37 @@ status:
# tests:
# - '**/*.test.ts'

'area/kubernetes':
"area/kubernetes":
- gitops/**/*

'cloud/gcp':
"cloud/gcp":
- terraform/gcp/*
- terraform/gcp/**/*

'cloud/aws':
"cloud/aws":
- terraform/aws/*
- terraform/aws/**/*

'cloud/azure':
"cloud/azure":
- terraform/azure/*
- terraform/azure/**/*

'cloud/alicloud':
"cloud/alicloud":
- terraform/alicloud/*
- terraform/alicloud/**/*

'cloud/digitalocean':
"cloud/digitalocean":
- terraform/digitalocean/*
- terraform/digitalocean/**/*

'cloud/exoscale':
"cloud/exoscale":
- terraform/exoscale/*
- terraform/exoscale/**/*

'cloud/scaleway':
"cloud/scaleway":
- terraform/scaleway/*
- terraform/scaleway/**/*

'kind/documentation':
"kind/documentation":
- docs/*
- docs/**/*
23 changes: 5 additions & 18 deletions .github/pr-branch-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
# PR labels and the branch patterns they should be auto-assigned to
kind/feature: ['feature/*', 'feat/*']
kind/bug: ['fix/*', 'hot-fix/*', 'bug-fix/*']
kind/documentation: ['documentation/*']
kind/feature: ["feature/*", "feat/*"]
kind/bug: ["fix/*", "hot-fix/*", "bug-fix/*"]
kind/documentation: ["documentation/*"]

# 🚀 kind/feature: ['feature/*', 'feat/*']
# 🐛 kind/bug: ['fix/*', 'hot-fix/*', 'bug-fix/*']
Expand Down
65 changes: 26 additions & 39 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,46 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
---
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
# https://gitmoji.carloscuesta.me/
categories:
- title: '🚀 Features'
- title: "🚀 Features"
labels:
- 'feature'
- 'enhancement'
- 'kind/feature'
- 'kind/enhancement'
- title: '🐛 Bug Fixes'
- "feature"
- "enhancement"
- "kind/feature"
- "kind/enhancement"
- title: "🐛 Bug Fixes"
labels:
- 'kind/bug'
- 'fix'
- 'bugfix'
- 'bug'
- title: '📝 Documentation'
- "kind/bug"
- "fix"
- "bugfix"
- "bug"
- title: "📝 Documentation"
labels:
- 'kind/documentation'
- title: '💡 Question'
- "kind/documentation"
- title: "💡 Question"
labels:
- 'kind/question'
- title: '🚨 Maintenance'
- "kind/question"
- title: "🚨 Maintenance"
labels:
- 'kind/renovate'
- 'dependency/flux'
- 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
- "kind/renovate"
- "dependency/flux"
- "chore"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
- "major"
minor:
labels:
- 'minor'
- "minor"
patch:
labels:
- 'patch'
- "patch"
default: patch
template: |
## 🚧 Changes
Expand Down
Loading
Loading