Skip to content

[chore] add codeowner activity report workflow #2959

[chore] add codeowner activity report workflow

[chore] add codeowner activity report workflow #2959

name: Lint GitHub Workflow YAML Files
on:
push:
branches:
- main
pull_request:
paths:
- '.github/workflows/*.yml'
- '.github/workflows/*.yaml'
- '.github/actionlint.yaml'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/setup-go-tools
with:
go-version: oldstable
- name: Run Actionlint
run: |
make actionlint
- name: Reminder to Address Linting Errors
if: failure()
run: echo "⚠️ Please address all linting errors before merging this pull request. Run 'make actionlint' locally to check your files."
- name: All linting checks passed
if: success()
run: echo "✅ All linting checks passed."
- run: ./.github/workflows/scripts/check-disk-space.sh