diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index 6d16d0d..5958a3f 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -43,10 +43,10 @@ jobs: if: steps.check.outputs.triggered == 'true' id: pr_data run: | - echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}" - echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" - echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" - echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" + echo "::set-output name=branch::${{ secrets.HEAD_REF }}" + echo "::set-output name=repo_name::${{ secrets.HEAD_REPO_FULLNAME }}" + echo "::set-output name=repo_clone_url::${{ secrets.HEAD_REPO_URL }}" + echo "::set-output name=repo_ssh_url::${{ secrets.HEAD_REPO_SSHURL }}" - name: Checkout PR Branch if: steps.check.outputs.triggered == 'true' uses: actions/checkout@v2 diff --git a/README.md b/README.md index 1382080..6c638f9 100755 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Given any date expression in a sentence, Hawking will apply standard language recognition and parser techniques to produce a list of corresponding dates with optional parse and syntax information. It supports for almost every existing date format: absolute dates, relative dates(on Sunday, at 12 PM, -at 04/11/2021, etc). +at 04/11/2021, etc) ###### Here is sample input: ``` java