Pull Request
Receive opened pull_request events for the repository you select. Draft PRs are included; later commits, reviews and other changes are excluded by the prepared Actions filter.
Workflow template
Record newly opened GitHub pull requests in Google Sheets. Append nine fields, including source and target branches and the draft flag, to an existing worksheet.
How it works
Receive opened pull_request events for the repository you select. Draft PRs are included; later commits, reviews and other changes are excluded by the prepared Actions filter.
Append number, title, repository, author, URL, creation time, source branch, target branch and draft flag to A:I. RAW input keeps formula-looking titles and branch names as text.
The result
The row records the opening event’s metadata. Draft and branch fields are snapshots rather than a live view of review status.
| PR number | Title | Repository | Author | PR URL | Created at (UTC) | Source branch | Target branch | Draft |
|---|---|---|---|---|---|---|---|---|
| 66 | Review the Dresden contributor guide | example-studio/project-tracker | alex-example | https://github.com/example-studio/project-tracker/pull/66 | 2026-09-16T17:00:00Z | docs/dresden-guide | main | false |
Fictional data. The source branch proposes changes into the target branch. PR descriptions, code changes, comments and attachments are not copied.
Before activation
Connect the FastHook GitHub App with access to the repository, choose it in the trigger and keep opened selected in Actions. The prepared filter includes draft PRs.
Connect Google Sheets and select an existing spreadsheet and worksheet. Reserve A:I for the example order. An empty worksheet works, or add your own optional headers; the workflow does not create the file or labels.
Wait for the trigger to connect, then open a fictional PR. Compare the new row’s number, timestamp, source and target branches and draft value with the GitHub opening event.
Drafts are recorded when opened. A newly opened draft PR can append a row with Draft true. Converting it to ready-for-review later does not update that cell or create another row under the prepared filter.
An append-only opening register. Existing PRs are not imported. Edits, commits, reviews, closures and reopenings do not append or update rows. Manual reruns can create duplicates because there is no PR lookup or row-update step.
Worksheet access and literal values. The worksheet exposes copied titles, repository identities and branch names to its readers. RAW input preserves formula-looking values as text. Body text, code, comments and attachments are not included.
Yes. Opened draft PRs are included and their flag is written to Draft. The workflow does not wait until they are ready for review.
No. The row captures the opening event. Later state changes, commits and reviews do not update it through this template.
No. An empty existing worksheet works. Headers are optional; if you add them, use the A:I order in the example. The action does not create a spreadsheet or headers.
Source branch contains the proposed changes, such as docs/dresden-guide. Target branch is where they are proposed to merge, such as main. The workflow copies these names without code changes or comments.
Keep a release register in Google Sheets when a GitHub release is published.
View template →Keep an issue register in Google Sheets whenever a new GitHub issue is opened.
View template →