Skip to content

Use Organization's .github README.md.gotmpl #546

Use Organization's .github README.md.gotmpl

Use Organization's .github README.md.gotmpl #546

Workflow file for this run

---
name: lint
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint-readme:
name: readme
runs-on: ubuntu-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
super-linter:
name: superlinter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Lint Code Base
uses: github/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_DOCKERFILE_HADOLINT: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}