diff --git a/.changeset/gorgeous-months-flash.md b/.changeset/gorgeous-months-flash.md new file mode 100644 index 00000000..0e611833 --- /dev/null +++ b/.changeset/gorgeous-months-flash.md @@ -0,0 +1,5 @@ +--- +"md-confluence-sync": patch +--- + +Adding lint step based on prettier diff --git a/actions/md-confluence-sync/action.yml b/actions/md-confluence-sync/action.yml index fd8a09a8..ce583b44 100644 --- a/actions/md-confluence-sync/action.yml +++ b/actions/md-confluence-sync/action.yml @@ -62,6 +62,12 @@ runs: with: fetch-depth: ${{ inputs.checkout-repo-fetch-depth }} + - name: Lint MD files using Prettier + uses: smartcontractkit/.github/actions/ci-prettier@aae9a00d6c15d5e9b9dae731c3eec983b6aa7fe3 # ci-prettier@0.1.0 + with: + checkout-repo: "false" + command: pnpm prettier --check ${{ inputs.files }} + - name: Setup tools shell: bash run: | diff --git a/actions/md-confluence-sync/mark-sync.sh b/actions/md-confluence-sync/mark-sync.sh old mode 100644 new mode 100755