Skip to content

Commit

Permalink
chore: ignore chart version bump, dont publish charts if tag exists
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Nov 29, 2024
1 parent 62c1aeb commit 1313611
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@ jobs:
run: ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m" --all
if: ${{ contains(github.event.pull_request.labels.*.name, 'next-release') || contains(github.event.pull_request.labels.*.name, 'needs-testing') }}

linter-artifacthub:
runs-on: ubuntu-latest
container:
image: artifacthub/ah
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run ah lint
working-directory: ./charts/
run: ah lint

artifacthub-changelog:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# don't upload a chart if an existing tag exists
CR_SKIP_EXISTING: "true"
1 change: 1 addition & 0 deletions default.ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ chart-repos:
- kube-logging=https://kube-logging.github.io/helm-charts
excluded-charts:
- lagoon-test
check-version-increment: false

0 comments on commit 1313611

Please sign in to comment.