Skip to content

Commit 060d106

Browse files
authored
Merge pull request #212 from acsone/fix-gen-addon-readme-skip-sbi
Fix skipping of oca-gen-addon-readme in CI
2 parents 0568def + c26606b commit 060d106

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/lint.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,3 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-python@v2
1616
- uses: pre-commit/action@v2.0.0
17-
env:
18-
# Consider valid a PR that changes README fragments but doesn't
19-
# change the README.rst file itself. It's not really a problem
20-
# because the bot will update it anyway after merge. This way, we
21-
# lower the barrier for functional contributors that want to fix the
22-
# readme fragments, while still letting developers get README
23-
# auto-generated (which also helps functionals when using runboat).
24-
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
25-
SKIP: oca-gen-addon-readme

src/.github/workflows/pre-commit.yml.jinja

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
run: pip install pre-commit
4040
- name: Run pre-commit
4141
run: pre-commit run --all-files --show-diff-on-failure --color=always
42+
env:
43+
# Consider valid a PR that changes README fragments but doesn't
44+
# change the README.rst file itself. It's not really a problem
45+
# because the bot will update it anyway after merge. This way, we
46+
# lower the barrier for functional contributors that want to fix the
47+
# readme fragments, while still letting developers get README
48+
# auto-generated (which also helps functionals when using runboat).
49+
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
50+
SKIP: oca-gen-addon-readme
4251
- name: Check that all files generated by pre-commit are in git
4352
run: |
4453
newfiles="$(git ls-files --others --exclude-from=.gitignore)"

0 commit comments

Comments
 (0)