Skip to content

fix: Warnings in "Create release pull request" Workflow in GitHub Act… #10

fix: Warnings in "Create release pull request" Workflow in GitHub Act…

fix: Warnings in "Create release pull request" Workflow in GitHub Act… #10

name: Lint GitHub Actions workflows
on:
push:
branches: [main]
paths: ['.github/workflows/**']
pull_request:
types: [opened, synchronize, reopened]
paths: ['.github/workflows/**']
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash