From 0441a3482bd1658a92309f4d989c28f8841ee2b5 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Thu, 19 Oct 2023 18:05:36 +0200 Subject: [PATCH] Create dependabot.yml (#227) --- .github/dependabot.yml | 15 +++++++++++++++ .github/workflows/test-and-build-action.yaml | 10 ++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9a6927f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: +- package-ecosystem: github-actions + directory: / + schedule: + interval: weekly +- package-ecosystem: pip # See documentation for possible values + directory: / # Location of package manifests + schedule: + interval: weekly diff --git a/.github/workflows/test-and-build-action.yaml b/.github/workflows/test-and-build-action.yaml index 89bafbd..7e90749 100644 --- a/.github/workflows/test-and-build-action.yaml +++ b/.github/workflows/test-and-build-action.yaml @@ -2,8 +2,14 @@ name: Test & Build on: push: + branches: + - '*' + - '!dependabot/**' pull_request: types: [reopened, opened, synchronize] + branches: + - '*' + - '!dependabot/**' release: types: - created @@ -106,7 +112,7 @@ jobs: path: htmlcov/ build: - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' }} && !startsWith(github.ref, 'refs/heads/dependabot/') runs-on: ubuntu-latest needs: test steps: @@ -135,7 +141,7 @@ jobs: path: dist/ docker-build: - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' }} && !startsWith(github.ref, 'refs/heads/dependabot/') runs-on: ubuntu-latest needs: [build] steps: