Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed yaml #1019

Merged
merged 3 commits into from
Jul 4, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/close-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Close PR

on:
workflow_dispatch:
inputs:
repo:
description: Repo slug where PR should be closed
required: true
type: choice
options:
- k8s-operatorhub/community-operators
- redhat-openshift-ecosystem/community-operators-prod
prNumber:
description: PR number to close
required: true
type: string

jobs:
update:
name: Close PR
runs-on: ubuntu-latest
steps:
- name: Close PR
run: |
gh pr https://github.com/${{ github.event.inputs.repo }}/pull/${{ github.event.inputs.prNumber }}
env:
GH_TOKEN: ${{ secrets.VM_BOT_GH_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/operatorhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
uses: peter-evans/create-pull-request@v6
with:
add-paths: operators/victoriametrics-operator
commit-message: victoriametrics-operator: ${{ steps.update.outputs.VERSION }}
commit-message: 'victoriametrics-operator: ${{ steps.update.outputs.VERSION }}'
signoff: true
author: Github Actions <[email protected]>
path: __k8s-operatorhub-repo
push-to-fork: ${{ matrix.repo.fork }}
branch: vm-operator-release-${{ steps.update.outputs.VERSION }}
token: ${{ secrets.VM_BOT_GH_TOKEN }}
delete-branch: true
title: victoriametrics-operator: (${{ steps.update.outputs.VERSION }})
title: 'victoriametrics-operator: (${{ steps.update.outputs.VERSION }})'
body: |
Added OLM package for [VictoriaMetrics operator ${{ steps.update.outputs.VERSION }}"](https://github.com/VictoriaMetrics/operator/releases/tag/v${{ steps.update.outputs.VERSION }})
> Auto-generated by `Github Actions Bot`
2 changes: 1 addition & 1 deletion .github/workflows/sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
branch: sandbox-operator-release-automation
token: ${{ secrets.VM_BOT_GH_TOKEN }}
delete-branch: true
title: sandbox: update operator ${{ steps.update.outputs.IMAGE_TAG }}
title: 'sandbox: update operator ${{ steps.update.outputs.IMAGE_TAG }}'
body: |
Deploy [${{ steps.update.outputs.IMAGE_TAG }}"](https://github.com/VictoriaMetrics/operator/commit/${{ steps.update.outputs.IMAGE_TAG }}) to sandbox
> Auto-generated by `Github Actions Bot`
Loading