From 38cbb9b9a11f21478f8f3ef3115c925581b04e38 Mon Sep 17 00:00:00 2001 From: Toshiyuki Goto Date: Mon, 22 Sep 2025 05:09:51 +0900 Subject: [PATCH 1/3] fix --- .github/workflows/close.yaml | 20 ++++++++++++++++++++ .github/workflows/sandbox.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .github/workflows/close.yaml create mode 100644 .github/workflows/sandbox.yaml diff --git a/.github/workflows/close.yaml b/.github/workflows/close.yaml new file mode 100644 index 0000000..40238ec --- /dev/null +++ b/.github/workflows/close.yaml @@ -0,0 +1,20 @@ +name: pr close +on: + pull_request: + branches: + - main + types: + - closed +jobs: + close: + runs-on: ubuntu-latest + steps: + - run: | + cat <<'EOS' > github.json + ${{ toJSON(github) }} + EOS + + - uses: actions/upload-artifact@v4 + with: + name: github.json + path: github.json diff --git a/.github/workflows/sandbox.yaml b/.github/workflows/sandbox.yaml new file mode 100644 index 0000000..e514160 --- /dev/null +++ b/.github/workflows/sandbox.yaml @@ -0,0 +1,29 @@ +name: test +on: + pull_request: + branches: + - main + merge_group: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + steps: + - run: sleep 10 + + - run: | + cat <<'EOS' > github.json + ${{ toJSON(github) }} + EOS + + - uses: actions/upload-artifact@v4 + with: + name: github.json + path: github.json + + deploy: + runs-on: ubuntu-latest + if: github.event_name == 'pull_request' + steps: + - run: echo pull_request From 25f717dc145098100bbaa16ee3b3a977768db078 Mon Sep 17 00:00:00 2001 From: Toshiyuki Goto Date: Mon, 22 Sep 2025 05:29:29 +0900 Subject: [PATCH 2/3] git log --- .github/workflows/sandbox.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sandbox.yaml b/.github/workflows/sandbox.yaml index e514160..b87a5ec 100644 --- a/.github/workflows/sandbox.yaml +++ b/.github/workflows/sandbox.yaml @@ -10,7 +10,11 @@ jobs: test: runs-on: ubuntu-latest steps: - - run: sleep 10 + - uses: actions/checkout@v4 + with: + fetch-depth: 20 + + - run: git log --graph --date=short --date-order --oneline - run: | cat <<'EOS' > github.json From 18644cf977143ae410aea18b1bf467b1a51328fe Mon Sep 17 00:00:00 2001 From: Toshiyuki Goto Date: Mon, 22 Sep 2025 05:23:53 +0900 Subject: [PATCH 3/3] fix3 --- .github/workflows/fix3.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/fix3.txt diff --git a/.github/workflows/fix3.txt b/.github/workflows/fix3.txt new file mode 100644 index 0000000..ca6afe6 --- /dev/null +++ b/.github/workflows/fix3.txt @@ -0,0 +1 @@ +fix3