It was worth a shot

pull/388/head
Wyatt Stanke 11 months ago
parent aa8bd44c6d
commit 1aebbe0777
No known key found for this signature in database
GPG Key ID: CE6BA5FFF135536D

@ -4,22 +4,7 @@ name: Lint
on: [push, pull_request] # yamllint disable-line rule:truthy
jobs:
yaml-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-go@v4
- run: go install github.com/google/yamlfmt/cmd/yamlfmt@latest
- run: yamlfmt .
- uses: EndBug/add-and-commit@v9
with:
message: "yamllint: auto-format"
default_author: github_actions
yaml-lint:
needs: yaml-fmt
runs-on: ubuntu-latest
steps:
- name: Check out source repository

Loading…
Cancel
Save