There is a problem with the JSON payload path reference.
Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])
- [x] bug
- [ ] enhancement (feature request)
- [ ] question
- [ ] documentation related
- [ ] example code related
- [ ] testing related
- [ ] discussion
Requirements (place an x in each of the [ ])
- [x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [x] I've read and agree to the Code of Conduct.
- [x] I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 1.19.0
node version:
OS version(s): ubuntu: 20.04
Steps to reproduce:
Expected result:
JSON payload loads normally
Actual result:


Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
@meju7015 - Hm, seems like a relative path is accepted per the documentation.
All that is happening here is that it's trying to read the file system and failing to load the path. Are you able to load files from outside the .github directory?
Try to checkout the repository at the beginning of Action
- name: Checkout
uses: actions/checkout@v2
I had a similar problem, the issue was calling payload-file-path before I did a checkout of the repo like @luafanti said. Swapping the order of the operations fixed my issue