Skip to content

Commit 0bafe83

Browse files
Updates PR settings for CRD sync
Disables draft mode for PR to allow automatic merges Adds labels for easier tracking of dependencies updates
1 parent 992bd55 commit 0bafe83

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/sync-kubernetes-configuration-crds.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Kustomize
1919
run: |
2020
curl -fsSL https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh -o /tmp/install_kustomize.sh
21-
sh /tmp/install_kustomize.sh /tmp
21+
bash /tmp/install_kustomize.sh /tmp
2222
2323
- name: Generate kustomization.yaml
2424
run: |
@@ -35,10 +35,21 @@ jobs:
3535
/tmp/kustomize build /tmp/kubernetes-configuration > charts/gateway-operator/charts/kubernetes-configuration-crds/crds/kubernetes-configuration-crds.yaml
3636
3737
- name: Create Pull Request
38+
<<<<<<< HEAD
3839
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
40+
=======
41+
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
42+
>>>>>>> 9510823 (Updates PR settings for CRD sync)
3943
with:
40-
title: 'chore: update kubernetes-configuration CRDs to ${{ github.event.inputs.version }}'
44+
token: ${{ secrets.K8S_TEAM_BOT_GH_PAT }}
45+
title: Sync kubernetes-configuration CRDs to ${{ github.event.inputs.version }}
4146
commit-message: 'chore: update kubernetes-configuration CRDs to ${{ github.event.inputs.version }}'
42-
branch: chore/update-kubernetes-configuration-crds
47+
committer: Kong's Team k8s bot <[email protected]>
48+
author: Kong's Team k8s bot <[email protected]>
49+
signoff: true
50+
base: main
51+
branch: chore/auto-update-kubernetes-configuration-crds
4352
delete-branch: true
44-
body: 'This PR updates the kubernetes-configuration CRDs to ${{ github.event.inputs.version }}.'
53+
draft: false
54+
body: This PR updates the kubernetes-configuration CRDs to https://github.com/Kong/kubernetes-configuration/releases/tag/${{ github.event.inputs.version }}
55+
labels: dependencies

0 commit comments

Comments
 (0)