Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove sync action in favor of CI job

Oliver Güntherd53c5545a192
diff --git a/.github/workflows/opencode-sync.yml b/.github/workflows/opencode-sync.yml
deleted file mode 100644
index 1ec0fa58d99..00000000000
--- a/.github/workflows/opencode-sync.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: opencode-sync
-on:
- workflow_dispatch:
- inputs:
- debug_enabled:
- type: boolean
- description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
- required: false
- default: false
- schedule:
- - cron: '5 */1 * * *' # Every hour
-
-permissions:
- contents: read # to fetch code (actions/checkout)
-jobs:
- to_gitlab:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - uses: webfactory/[email protected]
- with:
- ssh-private-key: ${{ secrets.OPENCODE_SYNC_SSH_PRIVATE_KEY }}
- - name: Mirror
- run: |
- export GIT_SSH_COMMAND="ssh -v -o StrictHostKeyChecking=no -o KexAlgorithms=curve25519-sha256 -o ServerAliveInterval=20"
-
- echo "Adding opencode remote"
- git remote add opencode [email protected]:bmi/souveraener_arbeitsplatz/component-code/management/openproject/openproject-core.git
-
- echo "Pushing all refs"
- git push --tags --force --prune opencode "refs/remotes/origin/*:refs/heads/*"
- - uses: mxschmitt/action-tmate@v3
- if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled && failure() }}
- with:
- limit-access-to-actor: true