Skip to content

Commit

Permalink
Notify External PR Merge (#32349)
Browse files Browse the repository at this point in the history
* added new action

* Test SK (#32350)

* Jira bugfix in edit issue - xsup 31954 (#32041)

* Added tests

* Updated RNs

* Updated docstrings

* Updated TPB

* Updated command description

* Updated RNs

---------

Co-authored-by: Anas Yousef <44998563+anas-yousef@users.noreply.github.com>

* Update AMPv2.yml

---------

Co-authored-by: israelpoli <72099621+israelpoli@users.noreply.github.com>
Co-authored-by: Anas Yousef <44998563+anas-yousef@users.noreply.github.com>

* Revert "Test SK" (#32352)

* Fixed

* Update .github/workflows/create-internal-pr-from-external.yml

Co-authored-by: RotemAmit <ramit@paloaltonetworks.com>

* Update .github/workflows/create-internal-pr-from-external.yml

Co-authored-by: RotemAmit <ramit@paloaltonetworks.com>

---------

Co-authored-by: israelpoli <72099621+israelpoli@users.noreply.github.com>
Co-authored-by: Anas Yousef <44998563+anas-yousef@users.noreply.github.com>
Co-authored-by: RotemAmit <ramit@paloaltonetworks.com>
  • Loading branch information
4 people authored and maimorag committed Feb 28, 2024
1 parent ae62b74 commit a144486
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/create-internal-pr-from-external.yml
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- contrib/**

permissions:
pull-requests: write

jobs:
create_internal_pr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,3 +42,11 @@ jobs:
cd Utils/github_workflow_scripts
poetry run ./create_internal_pr.py
echo "Finished Creating Internal PR"
- name: Notify External PR Merge
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
echo "Add a comment"
gh pr comment "$PR_URL" --body "Thank you for your contribution. Your external PR has been merged and the changes are now included in an internal PR for further review. The internal PR will be merged to the master branch within 3 business days."

0 comments on commit a144486

Please sign in to comment.