From edb2c4969b77ce99e4dc3d2c73c9a8da38d6769d Mon Sep 17 00:00:00 2001 From: amartin <49920382+amartingarcia@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:14:47 +0200 Subject: [PATCH] feat: Upload helm chart for Steampipe (#2) * feat: Update github actions --- .github/workflows/auto-assign.yaml | 20 -------------------- .github/workflows/lint-test.yaml | 4 +++- .github/workflows/release.yaml | 8 +------- 3 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/auto-assign.yaml diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml deleted file mode 100644 index d4ee61c..0000000 --- a/.github/workflows/auto-assign.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Auto assign -on: - issues: - types: [opened, edited, synchronize, reopened] - pull_request: - types: [opened, edited, synchronize, reopened] -jobs: - run: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - - steps: - - name: "Auto-assign issue" - uses: pozil/auto-assign-issue@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - assignees: amartingarcia - numOfAssignee: 1 diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 1c2bdcd..7245a93 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -1,6 +1,8 @@ name: Lint and Test Charts -on: pull_request +on: + pull_request: + paths: "charts/**" jobs: lint-test: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2b79db7..a25234e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,16 +22,10 @@ jobs: with: version: v3.13.0 - # - name: Add repositories - # run: | - # for dir in $(ls -d charts/); do - # helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done - # done - - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 with: - #charts_dir: ./ + charts_dir: ./ config: cr.yaml env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"