diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index f89f53f6..7187a0ac 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -1,16 +1,29 @@ - * SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors - * SPDX-FileCopyrightText: 2022 Unpublished - * SPDX-License-Identifier: GPL-3.0-or-later -name: "Validate Gradle Wrapper" +# synced from @nextcloud/android-config + +# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2023 Andy Scherzinger +# SPDX-FileCopyrightText: 2023 Tobias Kaminsky +# SPDX-FileCopyrightText: 2023 Álvaro Brey +# SPDX-License-Identifier: GPL-3.0-or-later +name: "Validate Gradle Wrapper" on: - pull_request: - branches: [ master ] + pull_request: + branches: [ master, main, stable-* ] + push: + branches: [ master, main, stable-* ] + +# Declare default permissions as read only. +permissions: read-all + +concurrency: + group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: - validation: - name: "Validation" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: gradle/wrapper-validation-action@v2 + validation: + name: "Validation" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2 # v2.1.1 \ No newline at end of file