ci: update of common workflows #17
Workflow file for this run
  
    
      This file contains hidden or 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: "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 | |