Skip to content

Commit

Permalink
cleanup workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
florianrusch committed Jan 9, 2024
1 parent 79652c7 commit a2700ce
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/verify-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,18 @@ jobs:
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
allowed-endpoints: >
auth.docker.io:443
github.com:443
*.docker.io:443
production.cloudflare.docker.com:443
registry-1.docker.io:443
disable-sudo: true
disable-telemetry: true
egress-policy: audit
egress-policy: block
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3
with:
image: jnorwood/helm-docs:v1.12.0
options: -v ${{ github.workspace }}/charts:/helm-docs
run: helm-docs

- run: |
docker run --rm --volume "${{ github.workspace }}/charts:/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
if $(git diff --quiet --exit-code); then
echo "Helm chart docs up to date"
else
Expand Down

0 comments on commit a2700ce

Please sign in to comment.