Skip to content

Check fully qualified domain names #6211

Check fully qualified domain names

Check fully qualified domain names #6211

Workflow file for this run

---
name: Lint
on: # yamllint disable-line rule:truthy
push: null
pull_request: null
workflow_call: null
permissions:
contents: read
jobs:
lint:
concurrency:
# Ref: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# github.head_ref: head_ref or source branch of the pull request
# github.ref: ref of the branch that triggered the workflow
group: ${{ github.workflow }}-lint-${{ github.head_ref || github.ref }}-${{ github.event_name }}
cancel-in-progress: true
permissions:
contents: read
packages: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Load super-linter configuration
run: cat config/lint/super-linter.env >> "$GITHUB_ENV"
- name: Super-Linter
uses: super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
lint-script:
concurrency:
# Ref: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# github.head_ref: head_ref or source branch of the pull request
# github.ref: ref of the branch that triggered the workflow
group: ${{ github.workflow }}-lint-script-${{ github.head_ref || github.ref }}-${{ github.event_name }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run lint script
run: |
scripts/lint.sh
pre_commit:
concurrency:
# Ref: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# github.head_ref: head_ref or source branch of the pull request
# github.ref: ref of the branch that triggered the workflow
group: ${{ github.workflow }}-pre-commit-${{ github.head_ref || github.ref }}-${{ github.event_name }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Run pre-commit"
run: |
set -o errexit
set -o nounset
scripts/run-pre-commit.sh
...