A GitHub Action to update pull request title and body.
- Create a
.github/workflows/pr-update.yml
file in your GitHub repo. - Add the following code to the
pr-update.yml
file.
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- master
jobs:
attach:
runs-on: ubuntu-18.04
steps:
- name: Update pr
if: success()
uses: juztcode/[email protected]
with:
title: Test
body: Test
Input | Purpose |
---|---|
title | PR title. |
body | PR body. |