From ee3ea7fd585972f20c6d3158256785ed840b1d1d Mon Sep 17 00:00:00 2001 From: Bohdan Chupika Date: Wed, 2 Aug 2023 15:43:07 +0300 Subject: [PATCH 1/2] disable task auto approve flow --- .github/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6787a6b6..282f50ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: Java CI -on: [push, pull_request_target] +on: [push, pull_request] jobs: build: @@ -8,9 +8,6 @@ jobs: steps: - uses: actions/checkout@v2 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - name: Set up JDK 17 uses: actions/setup-java@v2 with: @@ -19,11 +16,3 @@ jobs: cache: maven - name: Build with Maven run: mvn --batch-mode --update-snapshots verify - - uses: mate-academy/auto-approve-action@v2 - if: ${{ github.event.pull_request && success() }} - with: - github-token: ${{ github.token }} - - uses: mate-academy/auto-reject-action@v2 - if: ${{ github.event.pull_request && failure() }} - with: - github-token: ${{ github.token }} From 96f414d38c095316f79c73ba7c3de791c5d3c1fa Mon Sep 17 00:00:00 2001 From: Bohdan Chupika Date: Fri, 4 Aug 2023 09:49:18 +0300 Subject: [PATCH 2/2] add empty line to the EOF in pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 969b5f3e..526fbcf3 100644 --- a/pom.xml +++ b/pom.xml @@ -14,4 +14,4 @@ UTF-8 - \ No newline at end of file +