Skip to content

Commit

Permalink
Add workflow to backport dependency update pr to release branch (#293)
Browse files Browse the repository at this point in the history
* fix: branch naming of deps update pr

Signed-off-by: hlts2 <[email protected]>

* feat: add workflow to backport deps update pr

Signed-off-by: hlts2 <[email protected]>

---------

Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 authored May 23, 2024
1 parent e051beb commit b1eac1e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/backport-deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# Copyright (C) 2019-2024 vdaas.org vald team <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: "Run backport deps update PR"
on:
push:
branches:
- main
jobs:
backport:
uses: vdaas/vald-client-ci/.github/workflows/_backport-deps.yaml@main
secrets:
CI_TOKEN: ${{ secrets.CI_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
1 change: 1 addition & 0 deletions .github/workflows/update-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: vdaas/vald-client-ci/.github/workflows/_update-deps.yaml@main
with:
config_file_path: .github/dependabot-cli.yaml
pr_branch_name: chore/update-gradle
secrets:
CI_USER: ${{ secrets.CI_USER }}
CI_TOKEN: ${{ secrets.CI_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-gradle-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ jobs:
author: "${{ secrets.CI_USER }} <[email protected]>"
token: ${{ secrets.CI_TOKEN }}
committer: "${{ secrets.CI_USER }} <[email protected]>"
commit-message: "automated change"
signoff: true
delete-branch: true
branch: chore/update-gradle-wrapper
base: main
title: "Bump Gradle Wrapper to ${{ steps.gradle_info.outputs.LATEST_VERSION }}"
title: "chore(deps): bump Gradle Wrapper to ${{ steps.gradle_info.outputs.LATEST_VERSION }}"
body: "Automated pull request to update Gradle Wrapper."

0 comments on commit b1eac1e

Please sign in to comment.