Skip to content

Commit

Permalink
fix(workflow): fix create-crd-update-pr-in-longhorn-repo.yml
Browse files Browse the repository at this point in the history
- Fix committer for passing DOC check.
- Create PR after opening, editing or synchronizing the longhorn-manager PR.

Longhorn 10193

Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Jan 23, 2025
1 parent ca32967 commit bb4099b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/create-crd-update-pr-in-longhorn-repo.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Create CRD Update PR in Longhorn Repo
name: Create CRD and Manifest Update PR in Longhorn Repo

on:
pull_request:
types:
- closed
pull_request_target:
branches:
- master
- "v*"

jobs:
if_merged:
if: github.event.pull_request.merged == true
create-pull-request:
runs-on: ubuntu-latest
steps:
- name: Prepare Packages
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
sign-commits: true
signoff: true
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
committer: Longhorn GitHub Bot <67932897+longhorn-io-github-bot@users.noreply.github.com>
commit-message: "chore(crd): update crds.yaml and manifests"
title: "chore(crd): update crds.yaml and manifests (PR longhorn/longhorn-manager#${{ github.event.pull_request.number}})"
body: |
Expand Down

0 comments on commit bb4099b

Please sign in to comment.