Skip to content

fix(deps): update module github.com/evanphx/json-patch to v5.9.11+inc… #292

fix(deps): update module github.com/evanphx/json-patch to v5.9.11+inc…

fix(deps): update module github.com/evanphx/json-patch to v5.9.11+inc… #292

Workflow file for this run

name: Renovate
on:
push:
branches:
- release-*
jobs:
renovate:
name: Renovate
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: main
- name: Install Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
- name: Install python requirements
run: make prerequisites/python
- name: Find last 3 release branches
run: |
git fetch --prune --tags
git branch -r --list 'origin/release-*' | sort --version-sort | tail -n 3 | tr -d ' ' > release-branches.txt
echo latest branches:
cat release-branches.txt
- name: Update renovate file
run: |
source local/.venv/bin/activate
python3 hack/build/ci/update-renovate-json5.py release-branches.txt .github/renovate.json5
- name: Create pull request for adding new release branches to renovate.json5
uses: peter-evans/create-pull-request@v6
with:
base: main
delete-branch: true
branch: create-pull-request/update-renovate-json5
branch-suffix: short-commit-hash
add-paths: |
.github/renovate.json5
title: '[Automatic] Update renovate config for ${{ github.ref }}'
labels: 'ci'
commit-message: Update renovate.json5
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
body: |
# Description
Upgrade `renovate.json5` to include last 3 release branches.
## How can this be tested?
Check renovate app.
## Checklist
- [x] PR is labeled accordingly