[github actions] Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 #7
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
# adds linting to github action yml files | |
name: Action Lint | |
on: | |
pull_request: | |
types: ['opened', 'reopened', 'ready_for_review', 'synchronize'] | |
paths: | |
- '.github/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
action-lint: | |
if: ${{ github.event.pull_request.draft == false }} | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout repository files | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Setup Go | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
# Install and Run Action Lint | |
- name: Action Lint | |
run: go run github.com/rhysd/actionlint/cmd/actionlint@latest |