Skip to content

fix project name to ESS Community Helm Chart #127

fix project name to ESS Community Helm Chart

fix project name to ESS Community Helm Chart #127

Workflow file for this run

# Copyright 2025 New Vector Ltd
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
name: Changelog
on: [pull_request]
jobs:
check-newsfile:
if: ${{ (github.base_ref == 'main' || contains(github.base_ref, 'release-')) && github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
runs-on: cpu-s
container:
image: ghcr.io/${{ github.repository }}/ci-runner
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{github.event.pull_request.head.sha}}
- name: Define a cache for the virtual environment based on the dependencies lock file
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install venv
run: |
# helm/chart-testing-action sets up its own venv that we have no control over
# We don't want to use it for this
unset VIRTUAL_ENV
# Or future actions
poetry_venv=$(poetry env info -p)
sed -i "s|^VIRTUAL_ENV=.*|VIRTUAL_ENV=$poetry_venv|" "${GITHUB_ENV}"
poetry env info
poetry install -n
echo "$(poetry env info -p)/bin" >> "${GITHUB_PATH}"
- name: Run towncrier
run: |
# Fix/workaround for "detected dubious ownership in repository"
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
scripts/check_newsfragment.sh ${{ github.event.number }}