amezin/Create or update a pull request

Create or update a pull request through GitHub API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryTarget repository name with owneryes${{ github.repository }}
titlePull request titleyes
bodyThe description of the pull requestyesThis pull request is automatically generated by ${{ github.workflow }} / ${{ github.job }}
updateUpdate existing pull requestsyestrue
draftCreate a draft pull request. Ignored for already existing pull requestsyesfalse
headSource branch name, without `refs/heads/`yes${{ github.ref_name }}
head_shaSource commit. If specified, source branch's head will be moved to this commitno
forceAllow force-pushing the source (head) branchyestrue
baseTarget branch name, without `refs/heads/`yes${{ github.event.repository.default_branch }}
poll-intervalPolling interval when waiting for PR head to update, in seconds.yes1
poll-repeatsNumber of repeated requests when waiting for PR head to update. Total wait time will be poll-interval * poll-repeats.yes10
github-tokenGitHub API token to useyes${{ github.token }}
namedescription
numberThe number of the created/updated pull request
urlAPI URL of the created/updated pull request
html_urlBrowser URL of the created/updated pull request
pull_requestPull request object as JSON