Skip to content

Commit 573cb1c

Browse files
Revert changes
Removed permissions and coverage badge creation steps from CI workflow.
1 parent d04a93d commit 573cb1c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/CI_first_code_checks.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
first_check:
1515
name: first code check / python-3.13 / ubuntu-latest
1616
runs-on: ubuntu-latest
17-
permissions:
18-
contents: write
1917
steps:
2018
- uses: actions/checkout@v4
2119
- name: Set up Python
@@ -47,16 +45,3 @@ jobs:
4745

4846
- name: Run ruff linter
4947
run: ruff check --output-format=github
50-
51-
- name: Create coverage badge (SVG)
52-
run: |
53-
python -m pip install --upgrade genbadge[coverage]
54-
mkdir -p badges
55-
genbadge coverage -i coverage.xml -o docs/badges/coverage.svg
56-
57-
- name: Commit coverage badge on default branch
58-
if: github.ref == 'refs/heads/main'
59-
uses: stefanzweifel/git-auto-commit-action@v5
60-
with:
61-
commit_message: "ci: update coverage badge [skip ci]"
62-
file_pattern: docs/badges/coverage.svg

0 commit comments

Comments
 (0)