diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..a138a446 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# 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/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "maven" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + time: "Thursday at 00:47" diff --git a/.github/workflows/dependaboat.yml b/.github/workflows/dependaboat.yml new file mode 100644 index 00000000..1e7d3249 --- /dev/null +++ b/.github/workflows/dependaboat.yml @@ -0,0 +1,31 @@ +name: CI +#on: pull_request + +# Set the access for individual scopes, or use permissions: write-all +permissions: + contents: write + pull-requests: write + +jobs: + dependabot: + runs-on: ubuntu-latest + steps: + - name: Checkout sourccode + uses: actions/checkout@v2 + + - name: Dependabot metadata + id: metadata + uses: dependabot/fetch-metadata@v1 + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + - name: Approve a PR + run: gh pr review --approve "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GH_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - name: Enable auto-merge for Dependabot PRs + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/pom.xml b/pom.xml index 33310c3b..5a45edee 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ com.github.jsimone webapp-runner - 8.0.30.2 + 8.0.28.0 webapp-runner.jar @@ -35,7 +35,7 @@ maven-compiler-plugin - 3.11.0 + 3.10.0 1.8 1.8 @@ -43,7 +43,7 @@ maven-war-plugin - 3.2.1 + 3.1.0 WebContent @@ -55,14 +55,14 @@ org.postgresql postgresql - 42.3.7 + 42.3.9 mysql mysql-connector-java - 8.0.28 + 8.0.22 @@ -72,4 +72,4 @@ 3.1.0 - \ No newline at end of file +