From 31872c02ed404c4475e51395911c5fec0f35bc99 Mon Sep 17 00:00:00 2001 From: Chris Mackey Date: Mon, 4 Apr 2022 10:05:20 -0400 Subject: [PATCH] ci(deps): Clean up deps used in CI I'm removing an unused GtiHub workflow and ensuring that we don't update certain dev deps in a manner that would break docs generation. --- .github/dependabot.yml | 16 ++++++++++++ .github/workflows/dependency-release.yaml | 32 ----------------------- dev-requirements.txt | 2 ++ 3 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/dependency-release.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6718b59..db31b23 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,19 @@ updates: directory: "/" # Location of package manifests schedule: interval: "daily" + open-pull-requests-limit: 10 + ignore: + - dependency-name: pytest + - dependency-name: setuptools + - dependency-name: twine + - dependency-name: wheel + - dependency-name: Sphinx + - dependency-name: sphinx-click + - dependency-name: importlib-metadata + - dependency-name: jinja2 + - dependency-name: markupsafe + commit-message: + prefix: fix + prefix-development: build + include: scope + diff --git a/.github/workflows/dependency-release.yaml b/.github/workflows/dependency-release.yaml deleted file mode 100644 index 3ceb1f0..0000000 --- a/.github/workflows/dependency-release.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI-On-Dispatch - -on: repository_dispatch - -jobs: - - bump_dragonfly_core: - name: "Check Event" - runs-on: ubuntu-latest - if: github.event.action == 'dragonfly_core_release' - steps: - - name: "Checkout Master Branch" - uses: actions/checkout@v2 - with: - ref: refs/heads/master - token: ${{ secrets.DEPS_UPDATING }} - - name: "Run Update Script" - env: - VERSION: ${{ github.event.client_payload.version }} - run: | - export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g') - sed -i --regexp-extended 's/(dragonfly-core==).*/dragonfly-core=='"$CLEAN_VERSION"'/' requirements.txt - - name: "Commit and Push Changes" - id: push - env: - VERSION: ${{ github.event.client_payload.version }} - run: | - git config --global user.name 'ladybugbot' - git config --global user.email 'ladybugbot@users.noreply.github.com' - git add . - git commit -m "fix(deps): Bump dragonfly-core to $VERSION" - git push diff --git a/dev-requirements.txt b/dev-requirements.txt index f81fe11..b227789 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -11,3 +11,5 @@ twine==3.4.1 wheel==0.36.2 setuptools==57.0.0 importlib-metadata==4.3.1 +jinja2==3.0.3 +markupsafe==2.0.1