Skip to content

Get PR description #1065

Get PR description

Get PR description #1065

name: Get PR description
on:
pull_request:
types: [opened, synchronize, edited, ready_for_review]
jobs:
print_title_of_pr:
name: Auto Generate Changset based on pull request body
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.draft == false && github.actor != 'github-actions[bot]' && github.actor != 'dependabot[bot]' && github.event.pull_request.title != 'Fusion Project Portal Release'}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create changeset
id: create-changeset
uses: ./.github/actions/create-changeset
with:
projectName: "fusion-project-portal"
- name: Commit Changeset
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{steps.create-changeset.outputs.changeSetPath}}
branch: ${{ github.head_ref }}