Sync Files #870
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: 2023-2024 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-FileCopyrightText: 2023 Tobias Kaminsky <tobias@kaminsky.me | |
# SPDX-FileCopyrightText: 2022-2023 Álvaro Brey <alvaro@alvarobrey.com> | |
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de> | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Sync Files | |
on: | |
schedule: | |
- cron: "0 2 * * *" | |
workflow_dispatch: | |
# Declare default permissions as read only. | |
permissions: read-all | |
concurrency: | |
group: sync-files-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run GitHub File Sync | |
uses: BetaHuhn/repo-file-sync-action@8b92be3375cf1d1b0cd579af488a9255572e4619 # v1.21.1 | |
with: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
GIT_USERNAME: nextcloud-android-bot | |
GIT_EMAIL: android@nextcloud.com | |
COMMIT_BODY: "Signed-off-by: nextcloud-android-bot <android@nextcloud.com>" |