Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
new template fixes for linting, release
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Feb 29, 2024
1 parent a1e48e3 commit c4a007f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 25 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/manifest-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
name: Lint Manifests

on:
push:
pull_request:
branches: ['main']
push:
pull_request:
branches: ['main']

jobs:
helm-lint:
lint-helm:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set up Helm
uses: azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f # v4.0.0

- name: Set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- name: Lint Helm
uses: WyriHaximus/github-action-helm3@6c2b7200d597e38a3f2cd901b50046c800fc144b # v4.0.0
with:
python-version: 3.11.6

- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1

- name: Run chart-testing (lint)
run: ct lint --config ct.yaml
exec: helm lint ./chart

docker-lint:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Please and Publish
name: Release Please

on:
push:
Expand All @@ -12,9 +12,9 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Create Release and Tag
- name: Create release tag
id: tag
uses: google-github-actions/release-please-action@00911586051618367fa9c19b161a0a146ac51970 # v2.35.0
uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4
with:
release-type: node
command: manifest
command: manifest # use configs in release-please-config.json
9 changes: 4 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ repos:
- eslint-plugin-svelte@2.35.1
args: [--fix]

- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
rev: v0.1.0
- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: dockerfilelint
name: 'Dockerfile Lint'
stages: [commit]
- id: hadolint-docker
name: Dockerfile Lint

- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.23
Expand Down

0 comments on commit c4a007f

Please sign in to comment.