From dae2ccdff51022a96ae3aa7de5d34e11b84edd56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:33:44 +0000 Subject: [PATCH 1/3] Bump com.spotify.fmt:fmt-maven-plugin from 2.21.1 to 2.22 Bumps [com.spotify.fmt:fmt-maven-plugin](https://github.com/spotify/fmt-maven-plugin) from 2.21.1 to 2.22. - [Release notes](https://github.com/spotify/fmt-maven-plugin/releases) - [Commits](https://github.com/spotify/fmt-maven-plugin/compare/2.21.1...2.22.0) --- updated-dependencies: - dependency-name: com.spotify.fmt:fmt-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 33d0c68..c5b2104 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ 3.2.3 ${aspectj.version} 2.12.0 - 2.21.1 + 2.22 3.11.0 From a3c12dcd1b1aabaf31f11cf952cca8b1db28370d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Bilgin?= <32438592+omerbilgin@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:01:40 +0100 Subject: [PATCH 2/3] a --- .github/CODEOWNERS | 1 - .github/workflows/dependabotautomerge.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) delete mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/dependabotautomerge.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 8664ac2..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -@omerbilgin \ No newline at end of file diff --git a/.github/workflows/dependabotautomerge.yml b/.github/workflows/dependabotautomerge.yml new file mode 100644 index 0000000..086826a --- /dev/null +++ b/.github/workflows/dependabotautomerge.yml @@ -0,0 +1,23 @@ +name: Dependabot auto-approve +on: pull_request_target + +permissions: + contents: write + pull-requests: write + +jobs: + dependabot: + runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: + - name: Dependabot metadata + id: metadata + uses: dependabot/fetch-metadata@v1.1.1 + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + - name: Enable auto-merge for Dependabot PRs + if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}} + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file From 5bc0692806bda0d21dca45b434bf045ad3bb2887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Bilgin?= <32438592+omerbilgin@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:03:12 +0100 Subject: [PATCH 3/3] deploy test report on main only --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46aeb29..57083aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: keep_reports: 20 - name: Deploy report to Github Pages - if: always() + if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: peaceiris/actions-gh-pages@v2 env: PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}