Skip to content

Commit

Permalink
chore(ci): cleanup actions and add dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare committed Feb 3, 2024
1 parent 2f4fc0b commit daa041e
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
63 changes: 34 additions & 29 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: friday
time: "12:00"
timezone: "Europe/Zurich"
ignore:
- dependency-name: django
versions:
- ">=3"
commit-message:
prefix: chore
include: scope
- package-ecosystem: docker
directory: "/"
schedule:
interval: weekly
day: friday
time: "12:00"
timezone: "Europe/Zurich"
ignore:
- dependency-name: python
versions:
# Django 3.2 LTS only supports Python up to 3.10
- ">3.10"
commit-message:
prefix: chore
include: scope
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: friday
time: "12:00"
timezone: "Europe/Zurich"
open-pull-requests-limit: 10
ignore:
- dependency-name: django
versions:
- ">=4"
- dependency-name: python-semantic-release
versions:
- ">=8"
- package-ecosystem: docker
directory: "/"
schedule:
interval: weekly
day: friday
time: "12:00"
timezone: "Europe/Zurich"
open-pull-requests-limit: 10
ignore:
- dependency-name: python
versions:
- ">=3.9"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: friday
time: "12:00"
timezone: "Europe/Zurich"
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set UID
run: echo "UID=$(id --user)" > .env
- name: Build the containers
Expand All @@ -20,9 +20,9 @@ jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install gitlint
Expand Down

0 comments on commit daa041e

Please sign in to comment.