diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f5a095f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.0.0-alpha.4 + hooks: + - id: prettier diff --git a/action.yml b/action.yml index 6deedc4..86029f7 100644 --- a/action.yml +++ b/action.yml @@ -25,9 +25,9 @@ inputs: triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch. required: false - default: '' + default: "" repository: - description: 'Repository name with owner. For example, actions/checkout' + description: "Repository name with owner. For example, actions/checkout" default: ${{ github.repository }} token: description: > @@ -81,13 +81,13 @@ runs: - name: Git LFS Pull run: | - git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" - git submodule foreach git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" + git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" + git submodule foreach git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" shell: bash # Don't leave behind temp files in case build system checks for dirty workspace - name: Cleanup Temp Files run: | - rm .lfs-assets-id-unsorted - rm .lfs-assets-id + rm .lfs-assets-id-unsorted + rm .lfs-assets-id shell: bash diff --git a/justfile b/justfile index e8541d0..1e381f9 100644 --- a/justfile +++ b/justfile @@ -1,4 +1,4 @@ -version := "1.1.3" +version := "1.2.0" default: @echo "\"just publish\"?"