mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
583 B
YAML
23 lines
583 B
YAML
name: Lint GitHub action workflows
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
pull_request :
|
|
paths:
|
|
- ".github/workflows/**"
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
- name: Download actionlint
|
|
id: get_actionlint
|
|
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.7.4/scripts/download-actionlint.bash)
|
|
shell: bash
|
|
- name: Check workflow files
|
|
run: ${{ steps.get_actionlint.outputs.executable }} -color
|
|
shell: bash
|