Skip to content

.github/workflows: run workflow on package change #12

.github/workflows: run workflow on package change

.github/workflows: run workflow on package change #12

Workflow file for this run

name: Workflows Linter
on:
pull_request:
push:
branches:
- main
paths:
- '.github/workflows/**.yml'
jobs:
actionlint:

Check failure on line 12 in .github/workflows/actionlint.yml

View workflow run for this annotation

GitHub Actions / Workflows Linter

Invalid workflow file

The workflow is not valid. .github/workflows/actionlint.yml (Line: 12, Col: 3): The workflow must contain at least one job with no dependencies.
name: Run actionlint
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.workflows-changed == 'true'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run workflow linter
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
shell: bash