From 99bed556d2e5ef8c6f84883fb300498d955c221a Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Tue, 16 Apr 2024 10:17:19 +0200 Subject: [PATCH] Add debug --- .github/workflows/add-milestone-to-pull-requests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-milestone-to-pull-requests.yml b/.github/workflows/add-milestone-to-pull-requests.yml index d71f4b440e1..437e4175f69 100644 --- a/.github/workflows/add-milestone-to-pull-requests.yml +++ b/.github/workflows/add-milestone-to-pull-requests.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true && github.event.pull_request.milestone == null steps: + - name: Debug at start + run: echo ${{ toJson(github) }} - name: Checkout code # Checks out the branch that the pull request is merged into uses: actions/checkout@v3 @@ -32,7 +34,8 @@ jobs: state: 'open' }) return milestones.data - + - name: Debug before update + run: echo ${{ toJson(github) }} - name: Update Pull Request # Update the merged pull request with the milestone starts with the major version uses: actions/github-script@v7