chore(release): Prepare 1.6.0 release #630
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test Open Metadata Helm Charts | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- 'NOTICE' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- 'NOTICE' | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
# ct needs history to compare | |
fetch-depth: 0 | |
- name: Determine default branch | |
run: | | |
DEFAULT_BRANCH=$(git remote show origin | awk '/HEAD branch/ {print $NF}') | |
echo "default_branch=$DEFAULT_BRANCH" >> $GITHUB_ENV | |
echo "default_branch_ref=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
- name: Add Helm repos | |
run: | | |
helm repo add opensearch https://opensearch-project.github.io/helm-charts/ | |
helm repo add mysql https://charts.bitnami.com/bitnami | |
helm repo add airflow https://airflow-helm.github.io/charts | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install chart-testing | |
uses: helm/chart-testing-action@v2.0.1 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --target-branch=${{ env.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
run: ct lint --target-branch=${{ env.default_branch }} --check-version-increment=false |