fix: Prettier action to write to files #139
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Super Linter | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Permissions for the GITHUB_TOKEN. | |
permissions: | |
contents: write # To write linting fixes | |
statuses: write # To write Super-linter status checks | |
jobs: | |
lint: | |
# If the branch is from the release please workflow, don't trigger the linter. It is handled in the prettier workflow. | |
# No current other way to filter on pull request triggers using the source branch as well as the target branch. | |
if: ${{ github.head_ref != 'release-please--branches--master' }} # Access using the github context. Curly braces are technically optional in if expressions. | |
name: Lint code base | |
uses: andrew-field/reusable-workflows/.github/workflows/super-linter.yml@master |