Closed benknoble closed 1 month ago
I've done you one better: as of v0.4.2, the action now infers the repository's default branch automatically from the workflow context. So you shouldn't need to configure anything and it should hopefully just work.
https://github.com/jackfirth/create-resyntax-pull-request/blob/99a358fd264010f7fc21b6b002829f0703ac230d/action.yml#L77
The action hardcodes
master
, while some repos use other mainline branch names.This causes an error at the PR step:
PR request error
``` RequestError [HttpError]: Validation Failed: {"resource":"PullRequest","field":"base","code":"invalid"} at /home/runner/work/_actions/actions/github-script/v7.0.1/dist/index.js:9537:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v7.0.1/dist/index.js:35424:16),