Skip to content

Commit 4f648fd

Browse files
committed
Temporarily remove format checker action
1 parent 597ac08 commit 4f648fd

1 file changed

Lines changed: 62 additions & 62 deletions

File tree

.github/workflows/formatting.yml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
name: format-checker
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- ".github/workflows/formatting.yml"
9-
- "**.f90"
10-
- "**.F90"
11-
pull_request:
12-
branches:
13-
- main
14-
- development
15-
types:
16-
- opened
17-
- synchronize
18-
paths:
19-
- ".github/workflows/formatting.yml"
20-
- "**.f90"
21-
- "**.F90"
22-
workflow_dispatch:
23-
24-
permissions:
25-
contents: read
26-
pages: write
27-
id-token: write
28-
29-
concurrency:
30-
group: formatting
31-
cancel-in-progress: false
32-
33-
jobs:
34-
format-checker:
35-
runs-on: ubuntu-latest
36-
37-
steps:
38-
- name: checkout repo
39-
uses: actions/checkout@v4
40-
41-
- name: actions-setup-python
42-
uses: actions/setup-python@v5
43-
with:
44-
python-version: '3.12'
45-
46-
- name: Install pre-commit
47-
run: |
48-
python -m pip install --upgrade pip
49-
pip install pre-commit
50-
51-
- name: Run pre-commit hooks
52-
id: run_precommit
53-
run: pre-commit run --all-files
54-
continue-on-error: true
55-
56-
- name: Comment on PR if pre-commit failed
57-
if: github.event_name == 'pull_request' && steps.run_precommit.outcome != 'success'
58-
env:
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
run: |
61-
gh pr comment ${{ github.event.pull_request.number }} --body "⚠️ The pre-commit format check failed.
62-
Please run \`pre-commit run --all-files\` locally and fix any issues."
1+
# name: format-checker
2+
3+
# on:
4+
# push:
5+
# branches:
6+
# - main
7+
# paths:
8+
# - ".github/workflows/formatting.yml"
9+
# - "**.f90"
10+
# - "**.F90"
11+
# pull_request:
12+
# branches:
13+
# - main
14+
# - development
15+
# types:
16+
# - opened
17+
# - synchronize
18+
# paths:
19+
# - ".github/workflows/formatting.yml"
20+
# - "**.f90"
21+
# - "**.F90"
22+
# workflow_dispatch:
23+
24+
# permissions:
25+
# contents: read
26+
# pages: write
27+
# id-token: write
28+
29+
# concurrency:
30+
# group: formatting
31+
# cancel-in-progress: false
32+
33+
# jobs:
34+
# format-checker:
35+
# runs-on: ubuntu-latest
36+
37+
# steps:
38+
# - name: checkout repo
39+
# uses: actions/checkout@v4
40+
41+
# - name: actions-setup-python
42+
# uses: actions/setup-python@v5
43+
# with:
44+
# python-version: '3.12'
45+
46+
# - name: Install pre-commit
47+
# run: |
48+
# python -m pip install --upgrade pip
49+
# pip install pre-commit
50+
51+
# - name: Run pre-commit hooks
52+
# id: run_precommit
53+
# run: pre-commit run --all-files
54+
# continue-on-error: true
55+
56+
# - name: Comment on PR if pre-commit failed
57+
# if: github.event_name == 'pull_request' && steps.run_precommit.outcome != 'success'
58+
# env:
59+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
# run: |
61+
# gh pr comment ${{ github.event.pull_request.number }} --body "⚠️ The pre-commit format check failed.
62+
# Please run \`pre-commit run --all-files\` locally and fix any issues."

0 commit comments

Comments
 (0)