block huggingface-leaderboard/* #1268
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
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2022 The HuggingFace Authors. | |
name: chart PR | |
on: | |
pull_request: | |
paths: | |
- "chart/**" | |
- ".github/workflows/chart-pr.yml" | |
jobs: | |
code-quality-helm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Update dependencies | |
run: helm dependencies update | |
working-directory: chart | |
- name: Lint chart with default values | |
run: helm lint | |
working-directory: chart | |
- name: Lint chart with staging values | |
run: helm lint --values env/staging.yaml | |
working-directory: chart | |
- name: Lint chart with prod values | |
run: helm lint --values env/prod.yaml | |
working-directory: chart | |
helm-diff: | |
name: Diff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Update dependencies | |
run: helm dependencies update | |
working-directory: chart | |
- name: Tailscale | |
uses: tailscale/github-action@main | |
with: | |
authkey: ${{ secrets.TAILSCALE_AUTHKEY }} | |
version: ${{ vars.TAILSCALE_CLIENT_VERSION }} | |
- uses: XciD/argocd-diff-action@master | |
name: ArgoCD Diff | |
with: | |
argocd-server-url: ${{ secrets.ARGO_CD_URL }} | |
argocd-token: ${{ secrets.ARGO_CD_CI_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
argocd-version: v2.6.1 | |
argocd-extra-cli-args: --grpc-web --loglevel error |