Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

code-scanning.yml

code-scanning.yml #239

Workflow file for this run

name: "Format Code: ensure code formatting guidelines are met"
on:
pull_request:
types: [opened, edited, reopened, synchronize]
permissions: {}
jobs:
format-code:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: ministryofjustice/github-actions/code-formatter@d9a5f75c10cd50abd5f312ab9f4bab5826e4fedf # v11
with:
ignore-files: "README.md"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}