Skip to content

Commit

Permalink
Update lint for security
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Jan 26, 2024
1 parent b025620 commit 68e4151
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ jobs:
lint-readme:
name: readme
runs-on: ubuntu-latest
container: cloudposse/build-harness:latest
steps:
- uses: actions/checkout@v4
- name: Fix git safe.directory when run inside container
# https://github.com/actions/runner/issues/2033
run: |
mkdir -p /home/runner/work/_temp/_github_home
printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
- uses: docker://cloudposse/build-harness:latest
with:
entrypoint: /usr/bin/make
args: readme/lint
- shell: bash
run: /usr/bin/make BUILD_HARNESS_PATH=/build-harness PACKAGES_PREFER_HOST=true readme/lint

super-linter:
name: superlinter
Expand Down

0 comments on commit 68e4151

Please sign in to comment.