Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output the entire pull request payload #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

suzuki-shunsuke
Copy link

@suzuki-shunsuke suzuki-shunsuke commented Jun 18, 2024

Close #117

Test

I've confirmed this change works as expected.

https://github.com/suzuki-shunsuke/test-github-action-2/actions/runs/9556561727/job/26342081326?pr=9

https://github.com/suzuki-shunsuke/test-github-action-2/actions/runs/9556561727/workflow?pr=9#L8-L13

      - uses: suzuki-shunsuke/gh-find-current-pr@52df560f9181a2d5aaffd3b6934f5921b48920f4
        id: pr
      - run: echo "$AUTHOR"
        env:
          PAYLOAD: "${{steps.pr.outputs.payload}}"
          AUTHOR: "${{fromJson(steps.pr.outputs.payload).user.login}}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output the entire pull request payload
1 participant