Skip to content

Commit

Permalink
Merge pull request #1 from Dheeraj-Bhandari/Test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
Dheeraj-Bhandari authored May 1, 2024
2 parents 9fe1fcf + 3b2d87d commit 41ade73
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/check_code_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,3 @@ jobs:

- name: Check formatting
run: npm run format:check
continue-on-error: true # Continue to set status even if formatting check fails

- name: Set status
if: ${{ failure() }} # Only set status if previous step failed (i.e., formatting check failed)
uses: actions/github-script@v4
with:
script: |
github.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha: github.sha,
state: 'failure',
context: 'Prettier Formatting Check',
description: 'Code formatting check with Prettier failed. Please fix the formatting issues.',
})
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 41ade73

Please sign in to comment.