creyD/prettier_action

[BUG] entrypoint.sh: line 123: syntax error near unexpected token `then'

Closed this issue · 2 comments

What exactly happened?
Workflow with Prettier failing:
https://github.com/lambda-science/EHRoes/runs/4475783348?check_suite_focus=true

name: Format Check
on: [push, pull_request]
jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          # Make sure the actual branch is checked out when running on pull requests
          ref: ${{ github.head_ref }}
          # This is important to fetch the changes to the previous commit
          fetch-depth: 0

      - name: Check files using the black formatter
        uses: rickstaa/action-black@v1
        id: action_black
        with:
          black_args: ". --check"

      - name: Prettify code
        uses: creyD/prettier_action@v4.1
        with:
          prettier_options: --check **/*.{css,js}
          only_changed: True

What should've happened?
Should pass as there is not error.

Where did you encounter the problem?

creyD commented

Please try again with the Bugfix Version v4.1.1!

Woops, I just used the snippet in the readme without noticing that there was a newer version, it works as intented now, thank you very much @creyD .