0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-05 05:24:01 +00:00

chore: remove "generate changelog" and update dependabot config

This commit is contained in:
Pavel Boldyrev 2022-10-16 20:59:44 -04:00
parent 9e5edc1405
commit 46a69df97f
No known key found for this signature in database
GPG Key ID: 02A24794ADAC7455
6 changed files with 18 additions and 53 deletions

7
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1,7 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
#
# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
.github/auto-approve.yml @googleapis/github-automation

View File

@ -10,15 +10,24 @@ updates:
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: chore
include: scope
# Maintain dependencies for build tools
- package-ecosystem: "gomod"
directory: "/tools"
schedule:
interval: "weekly"
commit-message:
prefix: chore
include: scope
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: chore
include: scope

2
.github/release-please.yml vendored Normal file
View File

@ -0,0 +1,2 @@
handleGHRelease: true
releaseType: go

View File

@ -1,50 +0,0 @@
name: Generate CHANGELOG
on:
pull_request:
branches:
- master
types: [ closed ]
release:
types: [ published ]
issues:
types: [ closed, edited ]
workflow_dispatch:
jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog for main branch
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Import GPG key
id: import_gpg_key
uses: crazy-max/ghaction-import-gpg@v5
with:
git_commit_gpgsign: true
git_user_signingkey: true
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}
- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.BOT_TOKEN }}
release_branch: main
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update CHANGELOG.md
branch: main
file_pattern: CHANGELOG.md
push_options: --force
commit_author: ${{ steps.import_gpg_key.outputs.name }} <${{ steps.import_gpg_key.outputs.email }}>
commit_user_email: ${{ steps.import_gpg_key.outputs.email }}
commit_user_name: ${{ steps.import_gpg_key.outputs.name }}

View File

@ -8,6 +8,3 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: go
package-name: release-please-action