From 766059ffd16b19128aa4121eace78e48409f18b6 Mon Sep 17 00:00:00 2001 From: Claire G Date: Tue, 26 Apr 2022 15:11:18 +0200 Subject: [PATCH 1/2] disable update-gradle-wrapper for forks --- .github/workflows/update-gradle-wrapper.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml index 1cbf29cc8d..f681f530d7 100644 --- a/.github/workflows/update-gradle-wrapper.yml +++ b/.github/workflows/update-gradle-wrapper.yml @@ -13,6 +13,8 @@ jobs: - name: Update Gradle Wrapper uses: gradle-update/update-gradle-wrapper-action@v1 + # Tchap: Disabled for no + if: github.repository == 'vector-im/element-android' with: repo-token: ${{ secrets.GITHUB_TOKEN }} target-branch: develop From 40f3165d7f068ae85a9c60cc7bb7ea408097009f Mon Sep 17 00:00:00 2001 From: Claire G Date: Tue, 26 Apr 2022 15:13:27 +0200 Subject: [PATCH 2/2] update comment --- .github/workflows/update-gradle-wrapper.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml index f681f530d7..63aaae15a5 100644 --- a/.github/workflows/update-gradle-wrapper.yml +++ b/.github/workflows/update-gradle-wrapper.yml @@ -13,7 +13,7 @@ jobs: - name: Update Gradle Wrapper uses: gradle-update/update-gradle-wrapper-action@v1 - # Tchap: Disabled for no + # Skip in forks if: github.repository == 'vector-im/element-android' with: repo-token: ${{ secrets.GITHUB_TOKEN }}