Sync Files #523
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 <[email protected] | |
# SPDX-FileCopyrightText: 2022-2023 Álvaro Brey <[email protected]> | |
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <[email protected]> | |
# 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run GitHub File Sync | |
uses: BetaHuhn/repo-file-sync-action@3023dac7ce66c18b119e2012348437eadeaea116 # v1.21.0 | |
with: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
GIT_USERNAME: nextcloud-android-bot | |
GIT_EMAIL: [email protected] | |
COMMIT_BODY: "Signed-off-by: nextcloud-android-bot <[email protected]>" |