Get PR description #1065
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |