fix: added permissions for clustermanagementaddon status patch and up… #25
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'multicluster-resiliency-addon/**' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
name: Lint and test the project | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Get Helm version | |
id: helm | |
run: | | |
version=$(cat Makefile | grep "HELM_VERSION :=" | cut -d'=' -f2 | xargs) | |
echo "version=$version" >> $GITHUB_OUTPUT | |
- name: Install helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: ${{ steps.helm.outputs.version }} | |
- name: Lint chart | |
run: helm lint multicluster-resiliency-addon | |
- name: Test templates | |
run: helm template multicluster-resiliency-addon > /dev/null |