feat: add AUTOMATIONS_SERVICE_KEY env var support #28
This file contains hidden or 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: Validate Replicated Manifests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'replicated/**' | |
| - 'charts/**' | |
| - 'Makefile' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: 'latest' | |
| - name: Install yq | |
| uses: mikefarah/yq@v4 | |
| - name: Install Replicated CLI | |
| run: | | |
| curl -s https://api.github.com/repos/replicatedhq/replicated/releases/latest \ | |
| | grep "browser_download_url.*linux_amd64.tar.gz" \ | |
| | cut -d : -f 2,3 \ | |
| | tr -d \" \ | |
| | wget -qi - | |
| mkdir -p /tmp/replicated-cli | |
| tar -xzf replicated_*_linux_amd64.tar.gz -C /tmp/replicated-cli replicated | |
| sudo mv /tmp/replicated-cli/replicated /usr/local/bin/ | |
| - name: Lint Replicated release | |
| env: | |
| REPLICATED_APP: ${{ secrets.REPLICATED_APP }} | |
| REPLICATED_API_TOKEN: ${{ secrets.REPLICATED_API_TOKEN }} | |
| run: make lint |