feat(common): Release common library 3.7.1 #1211
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: "Pull Request: Validate" | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- ready_for_review | ||
- synchronize | ||
concurrency: | ||
group: ${{ github.head_ref }}-pr-validate | ||
cancel-in-progress: true | ||
jobs: | ||
prepare: | ||
name: Prepare data required for workflow | ||
runs-on: ubuntu-22.04 | ||
outputs: | ||
repoConfiguration: ${{ steps.repo-config.outputs.config }} | ||
addedOrModifiedFiles: ${{ steps.added-modified-files.outputs.all_changed_files }} | ||
addedOrModifiedCharts: ${{ steps.changed-charts.outputs.all_changed_files }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Grab repository configuration | ||
id: repo-config | ||
shell: bash | ||
run: | | ||
echo "config=$(yq '.' '.ci/repo-config.yaml' -o json -I=0)" >> "$GITHUB_OUTPUT" | ||
- name: Get all added or modified files | ||
id: added-modified-files | ||
uses: tj-actions/changed-files@v45 | ||
- name: Get changed charts | ||
id: changed-charts | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
matrix: true | ||
path: charts | ||
dir_names: true | ||
dir_names_max_depth: 2 | ||
pre-commit-check: | ||
name: Perform Pre-Commit check | ||
runs-on: ubuntu-22.04 | ||
needs: | ||
- prepare | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run against changes | ||
uses: pre-commit/action@v3.0.1 | ||
with: | ||
extra_args: --files ${{ needs.prepare.outputs.addedOrModifiedFiles }} --config .ci/pre-commit/config.yaml | ||
charts-lint: | ||
uses: ./.github/workflows/charts-lint.yaml | ||
needs: | ||
- pr-metadata | ||
Check failure on line 65 in .github/workflows/pr-validate.yaml
|
||
with: | ||
charts: ${{ needs.prepare.outputs.libraryChartsToRelease }} | ||
excludedChartsLint: ${{ toJSON(fromJSON(needs.prepare.outputs.repoConfiguration).excluded-charts-lint) }} | ||
# charts-test: | ||
# uses: ./.github/workflows/charts-test.yaml | ||
# needs: | ||
# - pr-metadata | ||
# with: | ||
# checkoutCommit: ${{ github.sha }} | ||
# chartsToTest: |- | ||
# ${{ | ||
# ( | ||
# (needs.pr-metadata.outputs.commonLibraryUpdated=='true') && | ||
# '["library/common-test"]' | ||
# ) || needs.pr-metadata.outputs.chartsToInstall | ||
# }} |