Skip to content

Add CODEOWNERS file with @Klintrup as the owner #6

Add CODEOWNERS file with @Klintrup as the owner

Add CODEOWNERS file with @Klintrup as the owner #6

Workflow file for this run

name: lint
on:
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
sh:
name: simple-shell-syntax-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: |
**.sh
- uses: Klintrup/simple-shell-syntax-check@v2
if: steps.changed-files.outputs.any_changed == 'true'
with:
files: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
install_missing_shell: true
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
prettier:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
with:
files: |
**.md
- name: Prettify code
if: steps.changed-files.outputs.any_changed == 'true'
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write ${{ steps.changed-files.outputs.all_changed_files }}