Make run() always work, even with old ocClient #2680
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-FileCopyrightText: 2017 Tobias Kaminsky <[email protected]> | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: "Detect snapshot" | |
on: | |
pull_request: | |
branches: [ master, stable-* ] | |
push: | |
branches: [ master, stable-* ] | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Detect SNAPSHOT | |
run: scripts/analysis/detectSNAPSHOT.sh |