Skip to content

Commit

Permalink
fix pre-commit autoupdate workflow scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Jan 5, 2025
1 parent 6f69644 commit f27f9f9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/precommit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
# https://crontab.cronhub.io/
- cron: "30 22 1-7 */3 FRI"
- cron: "30 22 1 */3 *"
jobs:
auto-update:
runs-on: ubuntu-22.04
Expand Down
10 changes: 0 additions & 10 deletions .pre-commit-config-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ default_stages: [pre-commit, manual]
minimum_pre_commit_version: 3.5.0
fail_fast: false
repos:
# enables pre-commit to install the hooks using pipx
- repo: https://github.com/pypa/pipx
rev: 1.7.1
hooks:
- id: pipx
alias: yapf
name: yapf
args: ["yapf", "-i"]
types: ["python"]

- repo: local
# this hook is not intended to be run on github
# it just allows to generate the same pre-commit
Expand Down
10 changes: 0 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ default_stages: [pre-commit, manual]
minimum_pre_commit_version: 3.5.0
fail_fast: true
repos:
# enables pre-commit to install the hooks using pipx
- repo: https://github.com/pypa/pipx
rev: 1.7.1
hooks:
- id: pipx
alias: yapf
name: yapf
args: ["yapf", "-i"]
types: ["python"]

- repo: local
# this hook is not intended to be run on github
# it just allows to generate the same pre-commit
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

[![GitHub release (latest SemVer)](https://img.shields.io/github/release/fchastanet/bash-tools-framework?logo=github&sort=semver)](https://github.com/fchastanet/bash-tools-framework/releases)
[![GitHubLicense](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/fchastanet/bash-tools-framework/blob/master/LICENSE)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![CI/CD](https://github.com/fchastanet/bash-tools-framework/actions/workflows/lint-test.yml/badge.svg)](https://github.com/fchastanet/bash-tools-framework/actions?query=workflow%3A%22Lint+and+test%22+branch%3Amaster)
[![ProjectStatus](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges "Project Status")
[![DeepSource](https://deepsource.io/gh/fchastanet/bash-tools-framework.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/fchastanet/bash-tools-framework/?ref=repository-badge)
Expand Down

0 comments on commit f27f9f9

Please sign in to comment.