chore: Remove allow
#94
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: 2024 Shun Sakai | |
# | |
# SPDX-License-Identifier: Apache-2.0 OR MIT | |
name: Mirror to mirror repositories | |
on: | |
push: | |
branches: | |
- "develop" | |
- "master" | |
schedule: | |
- cron: "0 0 * * FRI" | |
workflow_dispatch: | |
jobs: | |
gitlab: | |
name: Mirror to GitLab | |
if: (github.actor == 'sorairolake' || github.event_name == 'schedule') && github.repository_owner == 'sorairolake' | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Mirror to GitLab | |
uses: yesolutions/[email protected] | |
with: | |
REMOTE: "https://gitlab.com/sorairolake/abcrypt.git" | |
GIT_USERNAME: ${{ github.actor }} | |
GIT_PASSWORD: ${{ secrets.GITLAB_TOKEN }} | |
PUSH_ALL_REFS: "false" | |
codeberg: | |
name: Mirror to Codeberg | |
if: (github.actor == 'sorairolake' || github.event_name == 'schedule') && github.repository_owner == 'sorairolake' | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Mirror to Codeberg | |
uses: yesolutions/[email protected] | |
with: | |
REMOTE: "https://codeberg.org/sorairolake/abcrypt.git" | |
GIT_USERNAME: ${{ github.actor }} | |
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} | |
PUSH_ALL_REFS: "false" |