Skip to content

Run prettier on a branch #1

Run prettier on a branch

Run prettier on a branch #1

Workflow file for this run

name: Run `prettier` on a branch
on:
workflow_dispatch:
inputs:
trace:
default: false
description: Print command traces.
required: false
type: boolean
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: grafana/writers-toolkit/prettier@prettier/v1
with:
branch: ${{ GITHUB_REF }}

Check failure on line 16 in .github/workflows/prettier.yml

View workflow run for this annotation

GitHub Actions / Run `prettier` on a branch

Invalid workflow file

The workflow is not valid. .github/workflows/prettier.yml (Line: 16, Col: 19): Unrecognized named-value: 'GITHUB_REF'. Located at position 1 within expression: GITHUB_REF
trace: ${{ inputs.trace }}