chore: Sync from multipleof4/sune

This commit is contained in:
github-actions[bot]
2025-09-28 17:05:05 +00:00
parent 59261f7aaa
commit 01f92b190d
3 changed files with 30 additions and 13 deletions

29
.github/workflows/mirr.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Sync with Upstream
on:
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout target repository
uses: actions/checkout@v4
- name: Sync, preserving directories
run: |
set -e
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git remote add upstream https://github.com/multipleof4/test.git
git fetch upstream master
git reset --hard upstream/master
git rm -r --ignore-unmatch functions .github/workflows
git checkout ORIG_HEAD -- functions .github/workflows
git add -A
git diff-index --quiet HEAD || git commit -m "chore: Sync from multipleof4/sune" && git push --force

View File

@@ -1,13 +0,0 @@
name: Run OpenSSL Thrice
on:
workflow_dispatch:
jobs:
run-command:
runs-on: ubuntu-latest
steps:
- name: Run openssl rand -hex 32 (1/3)
run: openssl rand -hex 32
- name: Run openssl rand -hex 32 (2/3)
run: openssl rand -hex 32
- name: Run openssl rand -hex 32 (3/3)
run: openssl rand -hex 32

View File

@@ -0,0 +1 @@
export const onRequest = ({params:{catchall:[o,r,b,...p]}}) => fetch(`https://raw.githack.com/${o}/${r}/${b}/${p.join('/')}`);