From 669a372d8f5fcfc9b7c415cdb1836e4ba948f6c2 Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 19 Sep 2023 18:54:11 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20Ra?= =?UTF-8?q?kambdaOrg/rakambda-github-files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-aprove-sync-files.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/auto-aprove-sync-files.yml b/.github/workflows/auto-aprove-sync-files.yml index 6a5d6aa..96cc903 100644 --- a/.github/workflows/auto-aprove-sync-files.yml +++ b/.github/workflows/auto-aprove-sync-files.yml @@ -4,18 +4,6 @@ on: jobs: auto-approve-synced-files: - name: Auto approve synced files - if: contains(github.event.pull_request.title, 'Synced file(s)') && github.actor == 'couchoud-t' && github.event.pull_request.base.ref == github.event.repository.default_branch - runs-on: ubuntu-latest - steps: - - name: Pull Request approval - uses: hmarr/auto-approve-action@v3.2.1 - with: - github-token: "${{ secrets.SYNC_TOKEN }}" - - name: Pull Request merge - uses: KeisukeYamashita/auto-pull-request-merge@v1.0.6 - with: - token: "${{ secrets.SYNC_TOKEN }}" - strategy: squash - intervalSeconds: 60 - timeoutSeconds: 3600 + uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/approve-sync-files.yml@main + secrets: + sync-token: ${{ secrets.SYNC_TOKEN }} From 30cac0b10107a5717371ae5465da75167b49f470 Mon Sep 17 00:00:00 2001 From: Thomas <1688389+Rakambda@users.noreply.github.com> Date: Tue, 19 Sep 2023 22:34:04 +0200 Subject: [PATCH 2/2] Update gradle_ci.yml --- .github/workflows/gradle_ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle_ci.yml b/.github/workflows/gradle_ci.yml index 37ba3e9..991dc45 100644 --- a/.github/workflows/gradle_ci.yml +++ b/.github/workflows/gradle_ci.yml @@ -4,15 +4,18 @@ on: push: workflow_dispatch: +permissions: + contents: write + jobs: build: - uses: Rakambda/rakambda-github-workflows/.github/workflows/gradle-build.yml@main + uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/gradle-build.yml@main with: java-version: ${{ vars.JAVA_VERSION }} artifact-name: Gradle-Libs dropbox: - uses: Rakambda/rakambda-github-workflows/.github/workflows/dropbox-publish-artifact.yml@main + uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/dropbox-publish-artifact.yml@main if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} needs: - build