From 1a99a36f71b468bbcc3a8f4260cf2dca507b7a1b Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Mon, 28 Oct 2024 18:26:54 -0400 Subject: [PATCH] Also add Prettier job to format CciNistMappingData.ts Signed-off-by: Joyce Quach --- .github/workflows/convert-cci-list.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/convert-cci-list.yml b/.github/workflows/convert-cci-list.yml index 21b47ae84c..67c25d908a 100644 --- a/.github/workflows/convert-cci-list.yml +++ b/.github/workflows/convert-cci-list.yml @@ -9,7 +9,7 @@ on: - cron: '0 0 1 * *' jobs: - Convert-CCI-List: + convert-cci-list: runs-on: ubuntu-22.04 steps: - name: Checkout the code @@ -57,3 +57,17 @@ jobs: with: github_token: ${{secrets.GITHUB_TOKEN}} branch: ${{github.ref}} + prettier: + runs-on: ubuntu-latest + + steps: + - name: Checkout the code + uses: actions/checkout@v4 + with: + ref: ${{github.head_ref}} + fetch-depth: 0 + + - name: Prettify code + uses: creyD/prettier_action@v4.3 + with: + only_changed: True