From 2bfd6375ead50a973fb0a732d17f6b648bc86f1c Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 30 Aug 2024 11:01:15 +0200 Subject: [PATCH] Update from voxpupuli modulesync_config --- .github/CODEOWNERS | 5 +++++ .github/dependabot.yml | 28 +++++++++++++++++++++++ .github/labeler.yml | 6 +++++ .github/release.yml | 42 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++ .github/workflows/release.yml | 14 ++++++++++++ .gitignore | 7 ++++++ Gemfile | 11 +++++++++ Rakefile | 20 +++++++++++++++++ 9 files changed, 145 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/dependabot.yml create mode 100644 .github/labeler.yml create mode 100644 .github/release.yml create mode 100644 .github/workflows/labeler.yml create mode 100644 .github/workflows/release.yml create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 Rakefile diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..53cf213 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +# No matter which file got changed, request a review from the main developers + * @voxpupuli/tools-containerimages diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..49b971a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,28 @@ +--- +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +version: 2 +updates: + # raise PRs for gem updates + - package-ecosystem: bundler + directory: "/" + schedule: + interval: daily + time: "13:00" + open-pull-requests-limit: 10 + + # Maintain dependencies for GitHub Actions + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "13:00" + open-pull-requests-limit: 10 + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" + time: "13:00" + open-pull-requests-limit: 10 diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..fb8522d --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +--- +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +skip-changelog: + - head-branch: ['^release-*'] diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..f5b5d7a --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,42 @@ +--- +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes + +changelog: + exclude: + labels: + - duplicate + - invalid + - modulesync + - question + - skip-changelog + - wont-fix + - wontfix + + categories: + - title: Breaking Changes 🛠 + labels: + - backwards-incompatible + + - title: New Features 🎉 + labels: + - enhancement + + - title: Bug Fixes 🐛 + labels: + - bug + + - title: Documentation Updates 📚 + labels: + - documentation + - docs + + - title: Dependency Updates ⬆️ + labels: + - dependencies + + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..6bbf7dc --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +--- +name: Labeler 🏷️ + +on: + - pull_request_target + +jobs: + labeler: + name: Labeler + uses: voxpupuli/crafty/.github/workflows/labeler.yml@main + with: + allowed_owner: ${{ github.repository_owner }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c51cd23 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,14 @@ +--- +name: Release 🚀 + +on: + push: + tags: + - '*' + +jobs: + release: + name: Release + uses: voxpupuli/crafty/.github/workflows/release.yml@main + with: + allowed_owner: voxpupuli diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8cf65be --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +.bundle/ +.vendor/ +vendor/ +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..c5b7412 --- /dev/null +++ b/Gemfile @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +source ENV['GEM_SOURCE'] || 'https://rubygems.org' + +group :release do + gem 'faraday-retry', '~> 2.1', require: false + gem 'github_changelog_generator', '~> 1.16.4', require: false +end diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..1405272 --- /dev/null +++ b/Rakefile @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +# Managed by modulesync - DO NOT EDIT +# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ + +begin + require 'rubygems' + require 'github_changelog_generator/task' +rescue LoadError + # github_changelog_generator isn't available, so we won't define a rake task with it +else + GitHubChangelogGenerator::RakeTask.new :changelog do |config| + config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file." + config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog] + config.user = 'voxpupuli' + config.project = 'container-test' + # get branch name from git and strip off any prefixes (e.g. 'release-') + config.future_release = `git rev-parse --abbrev-ref HEAD`.strip.split('-', 2).last + end +end