From ad5b5b1b4ab64802f1ece3d91186a5b343eae524 Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 12:40:27 +0900 Subject: [PATCH 1/6] chore: create temporary source snapshot artifact --- .github/workflows/source-snapshot.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/source-snapshot.yml diff --git a/.github/workflows/source-snapshot.yml b/.github/workflows/source-snapshot.yml new file mode 100644 index 0000000..cff042f --- /dev/null +++ b/.github/workflows/source-snapshot.yml @@ -0,0 +1,29 @@ +name: source-snapshot + +on: + push: + branches: + - chore/source-snapshot-20260823 + +permissions: + contents: read + +jobs: + snapshot: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Check out source + uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Create source archive + shell: bash + run: tar --exclude=.git -czf pmgs-reference-source.tgz . + - name: Upload source archive + uses: actions/upload-artifact@v4 + with: + name: pmgs-reference-source + path: pmgs-reference-source.tgz + if-no-files-found: error + retention-days: 1 From 7f50476614904f84102a2e859c287a55cc074ca8 Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 12:41:45 +0900 Subject: [PATCH 2/6] chore: expose source snapshot on pull requests --- .github/workflows/source-snapshot.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/source-snapshot.yml b/.github/workflows/source-snapshot.yml index cff042f..079be88 100644 --- a/.github/workflows/source-snapshot.yml +++ b/.github/workflows/source-snapshot.yml @@ -4,6 +4,9 @@ on: push: branches: - chore/source-snapshot-20260823 + pull_request: + branches: + - main permissions: contents: read From 619bf9df4a80bdb6b8a795e0ce0031ae9171ebf7 Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 12:42:57 +0900 Subject: [PATCH 3/6] fix: write source archive outside checkout --- .github/workflows/source-snapshot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/source-snapshot.yml b/.github/workflows/source-snapshot.yml index 079be88..b7c2057 100644 --- a/.github/workflows/source-snapshot.yml +++ b/.github/workflows/source-snapshot.yml @@ -22,11 +22,11 @@ jobs: persist-credentials: false - name: Create source archive shell: bash - run: tar --exclude=.git -czf pmgs-reference-source.tgz . + run: tar --exclude=.git -czf "$RUNNER_TEMP/pmgs-reference-source.tgz" . - name: Upload source archive uses: actions/upload-artifact@v4 with: name: pmgs-reference-source - path: pmgs-reference-source.tgz + path: ${{ runner.temp }}/pmgs-reference-source.tgz if-no-files-found: error retention-days: 1 From 54e7a2b850c040ccc092dee40b9c1b769fde00da Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 13:47:23 +0900 Subject: [PATCH 4/6] chore: refresh temporary source snapshot From fd470d9587cce9b2568ab1688c28fcbdc79b481f Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 13:47:37 +0900 Subject: [PATCH 5/6] chore: retrigger temporary source snapshot From 9a7dfc3c2bd3f6aef8fc6a358a26dbc2ac146648 Mon Sep 17 00:00:00 2001 From: NAGI <221035391+Nagi-Inaba@users.noreply.github.com> Date: Sun, 23 Aug 2026 13:47:54 +0900 Subject: [PATCH 6/6] chore: retrigger temporary source snapshot