Bump peter-evans/create-issue-from-file from b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e to 7f8076dc4c17e7984cad2df4a7c66594f56a3686 #604
Workflow file for this run
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 workflows | |
# **What it does**: This lints our workflow files. | |
# **Why we have it**: We want some level of consistency in our workflow files. | |
# **Who does it impact**: Docs engineering. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/*.yml' | |
- '.github/workflows/*.yaml' | |
pull_request: | |
paths: | |
- '.github/workflows/*.yml' | |
- '.github/workflows/*.yaml' | |
jobs: | |
lint: | |
if: ${{ github.repository == 'github/docs-internal' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | |
- name: Run linter | |
uses: cschleiden/actions-linter@caffd707beda4fc6083926a3dff48444bc7c24aa | |
with: | |
workflows: '[".github/workflows/*.yml", ".github/workflows/*.yaml", "!.github/workflows/remove-from-fr-board.yaml", "!.github/workflows/staging-deploy-pr.yml", "!.github/workflows/staging-deploy-pr-docker.yml"]' |