mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-22 13:36:14 +02:00
chore: stage prepared large-import PR patch
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,37 @@
|
||||
name: Apply prepared large-import patch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- fix/large-required-imports-v2
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
apply:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Reconstruct and apply patch
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
base64 -d .github/pr-build/large-import.patch.b64.1 > /tmp/large-import.patch
|
||||
base64 -d .github/pr-build/large-import.patch.b64.2 >> /tmp/large-import.patch
|
||||
git apply --check /tmp/large-import.patch
|
||||
git apply /tmp/large-import.patch
|
||||
rm -rf .github/pr-build
|
||||
rm -f .github/workflows/apply-large-import-pr.yml
|
||||
- name: Commit prepared change
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add -A
|
||||
git diff --cached --check
|
||||
git commit -m "fix(mods): support large required imports end-to-end"
|
||||
git push origin HEAD:fix/large-required-imports-v2
|
||||
Reference in New Issue
Block a user