π [release] version 0.2.4 #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint plugin readmes | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
jobs: | |
run-readme-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
go-version: "1.22.4" | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v42 | |
with: | |
base_sha: ${{ github.event.pull_request.base.sha }} | |
files: ./plugins/**/README.md | |
- name: Run readme linter on changed files | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: go run ./tools/readme_linter ${{ steps.changed-files.outputs.all_changed_files }} |