Skip to content

chore(deps): update alpine/git:v2.43.0 docker digest to 1059ec0 #639

chore(deps): update alpine/git:v2.43.0 docker digest to 1059ec0

chore(deps): update alpine/git:v2.43.0 docker digest to 1059ec0 #639

Workflow file for this run

name: Lint Test
on:
pull_request:
paths-ignore:
- '.github/**'
- 'README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Declare default permissions as read only.
permissions: read-all
jobs:
lint-test:
env:
branch_name: ${{ github.head_ref || github.ref_name }}
# renovate: datasource=github-releases depName=helm/helm
HELM_VERSION: v3.13.3
# renovate: datasource=github-tags depName=python/cpython
PYTHON_VERSION: v3.12.1
# renovate: datasource=pypi depName=pybump
PYBUMP_VERSION: 1.11.5
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout 🛎️
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Setup Helm 🧰
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3
with:
version: ${{ env.HELM_VERSION }}
- name: Setup Python 🐍
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup chart-testing 🧰
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Setup pybump
if: ${{ contains(env.branch_name, 'renovate') }}
run: |
pip3 install pybump==${PYBUMP_VERSION}
- name: Bump chart version
if: ${{ contains(env.branch_name, 'renovate') }}
id: bumped_charts
run: |
.github/renovate-bump.sh
- name: Run Chart lint tests 🧪
run: ct lint --target-branch main
# Use the REST API to commit changes, so we get automatic commit signing
- name: Push changes
if: ${{ contains(env.branch_name, 'renovate') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
changed_charts: ${{ steps.bumped_charts.outputs.CHARTS }}
run: |
for chart in ${changed_charts}; do
export SHA=$(git rev-parse origin/${branch_name}:${chart} )
gh api --method PUT /repos/:owner/:repo/contents/${chart} \
--field message="chore: bumped ${chart} version" \
--field content=@<( base64 -i ${chart} ) \
--field branch="${branch_name}" \
--field sha="$SHA"
done