Skip to content

ci: update of common workflows #17

ci: update of common workflows

ci: update of common workflows #17

---
name: "Add commit messages to PR body"
on:
pull_request:
types: [opened, synchronize]
permissions:
pull-requests: write
jobs:
update-pr-body:
runs-on: ubuntu-latest
steps:
- name: "Update PR body"
if: ${{ github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id }}
uses: netcracker/qubership-workflow-hub/actions/pr-add-messages@main
- name: "Warning"
if: ${{ github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id }}
run: |
echo "⚠️ Pull request from fork! ⚠️" >> $GITHUB_STEP_SUMMARY
echo "Can not change PR body." >> $GITHUB_STEP_SUMMARY