Skip to content

Commit

Permalink
Merge pull request #463 from sbrunner/c2cciutils-upgrade
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Nov 23, 2023
2 parents 133baa2 + 77975b9 commit 9da3cdf
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@
matchPackageNames: ['shellcheck-py/shellcheck-py'],
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
},
/** Auto merge the GitHub action and pre-commit updates */
{
matchDatasources: ['github-actions', 'pre-commit'],
automerge: true,
},
],
}
23 changes: 23 additions & 0 deletions .github/workflows/delete-old-workflow-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Delete old workflow runs

on:
schedule:
- cron: '0 0 * * *'

env:
HAS_SECRETS: ${{ secrets.HAS_SECRETS }}

jobs:
build:
name: Delete old workflow runs
runs-on: ubuntu-22.04
timeout-minutes: 25

steps:
- name: Delete old workflow runs
uses: MajorScruffy/delete-old-workflow-runs@v0.3.0
with:
repository: ${{ github.repository }}
older-than-seconds: 43200000 # 500 days
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
name: Pull request check
runs-on: ubuntu-22.04
timeout-minutes: 5
if: github.event.pull_request.user.login != 'renovate[bot]'

steps:
- run: pip install --upgrade attrs
Expand Down
116 changes: 110 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ packages = [{ include = "deskew" }, { include = "deskew/py.typed" }]
deskew = "deskew.cli:main"

[tool.poetry.dependencies]
python = ">=3.12,<3.13"
python = ">=3.9,<3.13"
numpy = "1.26.1"
scikit-image = "0.22.0"
opencv-python-headless = { version = "4.8.1.78", optional = true }
Expand Down

0 comments on commit 9da3cdf

Please sign in to comment.