Open AbianG opened 3 years ago
Seems to be a bug if workflow_dispatch used to trigger this? I have same problem.
I was able to overcome this issue by passing the PR manually using https://github.com/marketplace/actions/find-pull-request . I think it is because workflow_dispatch is set on branches not PRs (I ended up abandoning this approach anyways since workflow dispatch could not update the PR of its test status anyways :( )
- name: Find Pull Request
uses: juliangruber/find-pull-request-action@v1
id: find-pull-request
with:
branch: ${{github.ref_name}}
- name: Get changed files
id: get_file_changes
uses: trilom/file-changes-action@v1.2.4
with:
output: ' '
prNumber: ${{ steps.find-pull-request.outputs.number }}
I'm trying to run the action as part of a test pipeline (to see if it helps with a project) but the problem is that, following the readme examples, I cannot make it run correctly. The test pipeline code is:
Problem is, it fails with the following error:
I do not understand fully the error, but fearing it might have something to do with the
plaintext: true
statement, I removed it along withgithubToken: ${{ secrets.GITHUB_TOKEN }}
(all under thewith:
really) and reran it, still got an error about input (this time about infering input)I am not sure of where should I start, as the pipeline is extremely simple at this point and based on the documentation. Any help will be welcome.