diff --git a/.gitea/workflows/conventional_commit.yml b/.gitea/workflows/conventional_commit.yml new file mode 100644 index 0000000..bb8caa7 --- /dev/null +++ b/.gitea/workflows/conventional_commit.yml @@ -0,0 +1,14 @@ +name: Conventional Commit +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +jobs: + validate_pr_title: + uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/conventional-commit.yml@main + with: + commit_message: ${{ gitea.event.pull_request.title }} diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..a7dd43b --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,20 @@ +name: Release +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + create_release: + name: Create Release + uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main + secrets: + ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }} + + print_release: + name: Print Release + runs-on: ubuntu-latest + needs: create_release + steps: + - run: echo "Created release ${{ needs.create_release.outputs.release_name }}." diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..c725323 --- /dev/null +++ b/renovate.json @@ -0,0 +1,20 @@ +{ + "assignAutomerge": true, + "assigneesFromCodeOwners": true, + "dependencyDashboardAutoclose": true, + "extends": ["config:recommended", "docker:enableMajor"], + "ignorePaths": ["**/.archive/**"], + "labels": ["type/dependencies"], + "platformCommit": "enabled", + "rebaseWhen": "behind-base-branch", + "rollbackPrs": true, + "vulnerabilityAlerts": { + "commitMessagePrefix": "[SECURITY] ", + "enabled": true, + "labels": ["security"], + "prCreation": "immediate" + }, + "lockFileMaintenance": { + "enabled": true + } +}