From aba51b9eb14d89d0fec6904b79a268c7001d52dc Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Tue, 17 Dec 2024 21:54:03 +0300 Subject: [PATCH] move to submodule --- .github/github_pushback.sh | 31 ------------------- .github/workflows/build-canaryv3.yml | 11 ------- .github/workflows/build-nestv3.yml | 11 ------- .github/workflows/github-pushback.yml | 41 -------------------------- .github/workflows/release-canaryv3.yml | 11 ------- .github/workflows/release-nestv3.yml | 11 ------- locales/README.md | 4 +++ 7 files changed, 4 insertions(+), 116 deletions(-) delete mode 100755 .github/github_pushback.sh delete mode 100644 .github/workflows/github-pushback.yml create mode 100644 locales/README.md diff --git a/.github/github_pushback.sh b/.github/github_pushback.sh deleted file mode 100755 index 3c51f90..0000000 --- a/.github/github_pushback.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/bash - -mkdir -p ~/.ssh -ssh-keyscan -H pika-os.com >> ~/.ssh/known_hosts -ssh-keyscan -H git.pika-os.com >> ~/.ssh/known_hosts -#echo -e "Host git.pika-os.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config -#echo -e "Host git.pika-os.com\n\tIdentityFile ~/.ssh/id_rsa\n\tStrictHostKeyChecking no\n" > ~/.ssh/config -#ssh-agent -a $SSH_AUTH_SOCK > /dev/null -#ssh-add - <<< "$1" - -#export GIT_SSH_COMMAND="ssh -F ~/.ssh/config" - -#ssh -o StrictHostKeyChecking=no -vT git@git.pika-os.com -#ssh -vT git@git.pika-os.com - -# Commit changes to git -git config --global user.name 'Github Gitea Push Back Key - Cosmo' -git config --global user.email 'cosmo@pika-os.com' -#git config --global --add safe.directory /__w/gitea-pika-installer-gtk4/gitea-pika-installer-gtk4 - -git clone git@git.pika-os.com:custom-gui-packages/pika-installer-gtk4 - -rm -rfv ./gitea-pika-installer-gtk4/.git -cp -rfv ./pika-installer-gtk4/.git ./gitea-pika-installer-gtk4/ - -cd ./gitea-pika-installer-gtk4 -git add . -git commit -am"Github Mirror Push Back" -#git config pull.rebase true -#git pull -git push diff --git a/.github/workflows/build-canaryv3.yml b/.github/workflows/build-canaryv3.yml index 255a0c8..bff3d86 100644 --- a/.github/workflows/build-canaryv3.yml +++ b/.github/workflows/build-canaryv3.yml @@ -17,17 +17,6 @@ jobs: options: --privileged -it steps: - - - name: Runner Origin Check - run: | - if [ "${{ secrets.RUNNER_ORIGIN }}" = "github" ]; then - exit 1 - else - true - fi - env: - RUNNER_ORIGIN: ${{ secrets.RUNNER_ORIGIN }} - - uses: actions/checkout@v3 - name: Install SSH key diff --git a/.github/workflows/build-nestv3.yml b/.github/workflows/build-nestv3.yml index f051808..3c9c34d 100644 --- a/.github/workflows/build-nestv3.yml +++ b/.github/workflows/build-nestv3.yml @@ -17,17 +17,6 @@ jobs: options: --privileged -it steps: - - - name: Runner Origin Check - run: | - if [ "${{ secrets.RUNNER_ORIGIN }}" = "github" ]; then - exit 1 - else - true - fi - env: - RUNNER_ORIGIN: ${{ secrets.RUNNER_ORIGIN }} - - uses: actions/checkout@v3 - name: Install SSH key diff --git a/.github/workflows/github-pushback.yml b/.github/workflows/github-pushback.yml deleted file mode 100644 index 1e1e2bc..0000000 --- a/.github/workflows/github-pushback.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Github Push back to gitea - -on: - push: - branches: - - main - -jobs: - Push: - runs-on: ubuntu-latest - container: - image: ghcr.io/pikaos-linux/pikaos-builder:nestv3 - volumes: - - /proc:/proc - options: --privileged -it - - steps: - - - name: Runner Origin Check - run: | - if [ "${{ secrets.RUNNER_ORIGIN }}" = "github" ]; then - true - else - exit 1 - fi - env: - RUNNER_ORIGIN: ${{ secrets.RUNNER_ORIGIN }} - - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.GITEA_SSH_KEY }} - name: id_rsa - known_hosts: ${{ secrets.KNOWN_HOSTS }} - if_key_exists: replace - - - name: Run - run: git clone https://github.com/PikaOS-Linux/gitea-pika-installer-gtk4 - - - name: Run - run: ./gitea-pika-installer-gtk4/.github/github_pushback.sh diff --git a/.github/workflows/release-canaryv3.yml b/.github/workflows/release-canaryv3.yml index fa53734..436c8ff 100644 --- a/.github/workflows/release-canaryv3.yml +++ b/.github/workflows/release-canaryv3.yml @@ -17,17 +17,6 @@ jobs: options: --privileged -it steps: - - - name: Runner Origin Check - run: | - if [ "${{ secrets.RUNNER_ORIGIN }}" = "github" ]; then - exit 1 - else - true - fi - env: - RUNNER_ORIGIN: ${{ secrets.RUNNER_ORIGIN }} - - uses: actions/checkout@v3 - name: Install SSH key diff --git a/.github/workflows/release-nestv3.yml b/.github/workflows/release-nestv3.yml index 05ed7ce..ed42bb7 100644 --- a/.github/workflows/release-nestv3.yml +++ b/.github/workflows/release-nestv3.yml @@ -17,17 +17,6 @@ jobs: options: --privileged -it steps: - - - name: Runner Origin Check - run: | - if [ "${{ secrets.RUNNER_ORIGIN }}" = "github" ]; then - exit 1 - else - true - fi - env: - RUNNER_ORIGIN: ${{ secrets.RUNNER_ORIGIN }} - - uses: actions/checkout@v3 - name: Install SSH key diff --git a/locales/README.md b/locales/README.md new file mode 100644 index 0000000..9df37d5 --- /dev/null +++ b/locales/README.md @@ -0,0 +1,4 @@ +Translations repository created by Weblate +========================================== + +See https://weblate.org/ for more info.