Skip to content

fix: Add --install-python=false to install invocation. #44

fix: Add --install-python=false to install invocation.

fix: Add --install-python=false to install invocation. #44

Workflow file for this run

name: Format
on:
# trigger on PR
pull_request:
# trigger manually
workflow_dispatch:
jobs:
# JOB to run change detection
detect_file_changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
markdown: ${{ steps.filter.outputs.markdown }}
frontend: ${{ steps.filter.outputs.bash }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
markdown:
- '**.md'
bash:
- '**.bash'
markdown:
needs: changes

Check failure on line 29 in .github/workflows/format.yaml

View workflow run for this annotation

GitHub Actions / Format

Invalid workflow file

The workflow is not valid. .github/workflows/format.yaml (Line: 29, Col: 12): Job 'markdown' depends on unknown job 'changes'. .github/workflows/format.yaml (Line: 43, Col: 12): Job 'bash' depends on unknown job 'changes'.
if: ${{ needs.changes.outputs.markdown == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: asdf-vm/actions/install@v2
- name: Format markdown with Deno
run: deno fmt *.md
- uses: stefanzweifel/git-auto-commit-action@v4
name: commit markdown file format
with:
commit_message: "chore: format markdown files"
bash:
needs: changes
if: ${{ needs.changes.outputs.bash == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: asdf-vm/actions/install@v2
- name: Format bash with shfmt
run: ./scripts/format.bash
- uses: stefanzweifel/git-auto-commit-action@v4
name: commit markdown file format
with:
commit_message: "chore: format shell script files"