Skip to content

Commit

Permalink
chore: update commiter for PR creation step (#1087)
Browse files Browse the repository at this point in the history
* update commiter for PR creation step

* update commiter for PR create step
  • Loading branch information
k1rk authored Aug 27, 2024
1 parent 55c70ef commit 3a32aee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
id: import-gpg
with:
gpg_private_key: ${{ secrets.VM_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.VM_BOT_PASSPHRASE }}
Expand All @@ -37,6 +38,7 @@ jobs:
workdir: __vm-charts-repo

- name: Update crd yaml in chart repo
id: update
run: |
cp ../__vm-operator-repo/config/crd/overlay/crd.yaml charts/victoria-metrics-operator/crd.yaml
cp ../__vm-operator-repo/config/crd/overlay/crd.yaml charts/victoria-metrics-k8s-stack/charts/crds/crds/crd.yaml
Expand All @@ -50,7 +52,7 @@ jobs:
add-paths: charts
commit-message: Automatic update operator crds from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }}
signoff: true
author: Github Actions <[email protected]>
committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>"
path: __vm-charts-repo
branch: operator-crd-update-${{ steps.update.outputs.BUILDTIME }}
token: ${{ secrets.VM_BOT_GH_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
id: go

- name: Import GPG key
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.VM_BOT_GPG_PRIVATE_KEY }}
Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
add-paths: docs/operator
commit-message: Automatic update operator docs from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }}
signoff: true
author: Github Actions <[email protected]>
committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>"
path: __vm-docs-repo
branch: operator-docs-update-${{ steps.update.outputs.BUILDTIME }}
token: ${{ secrets.VM_BOT_GH_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/operatorhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
id: import-gpg
with:
gpg_private_key: ${{ secrets.VM_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.VM_BOT_PASSPHRASE }}
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
add-paths: operators/victoriametrics-operator
commit-message: 'victoriametrics-operator: ${{ steps.update.outputs.VERSION }}'
signoff: true
author: Github Actions <[email protected]>
committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>"
path: __k8s-operatorhub-repo
push-to-fork: ${{ matrix.repo.fork }}
branch: vm-operator-release-${{ steps.update.outputs.VERSION }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
id: import-gpg
with:
gpg_private_key: ${{ secrets.VM_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.VM_BOT_PASSPHRASE }}
Expand All @@ -46,7 +47,7 @@ jobs:
add-paths: ${{ steps.update.outputs.OPERATOR_PATH }}
commit-message: Automatic update operator version on sandbox from ${{ github.repository }}@${{ steps.update.outputs.SHORT_SHA }}
signoff: true
author: Github Actions <[email protected]>
committer: "Github Actions <${{ steps.import-gpg.outputs.email }}>"
path: __vm-ops-repo
branch: sandbox-operator-release-automation
token: ${{ secrets.VM_BOT_GH_TOKEN }}
Expand Down

0 comments on commit 3a32aee

Please sign in to comment.