diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/format_check.yml | 32 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 2 |
2 files changed, 1 insertions, 33 deletions
diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml deleted file mode 100644 index db94ee0..0000000 --- a/.github/workflows/format_check.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Format Check - -on: - pull_request: - -jobs: - check-format: - runs-on: tgrogers-raid - steps: - - uses: actions/checkout@v4 - - name: Check code formatting - run: | - # Run the formatter to see if it would make any changes - /bin/bash ./format-code.sh - - # Check if there are any uncommitted changes - if git diff --quiet; then - echo "✅ Code is properly formatted" - else - echo "❌ Code formatting check failed. The following files need formatting:" - git diff --name-only - echo "" - echo "Please run the formatter locally and commit the changes:" - echo "/bin/bash ./format-code.sh" - exit 1 - fi - - # skip the runs in PRs. Will run in the merge queue - CI-Success: - runs-on: ubuntu-latest - steps: - - run: echo "CI skipped. Will run in the merge queue"
\ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cb61e4..f576459 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: push: branches-ignore: - "gh-readonly-queue**" - merge_group: + pull_request: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: |
