[TGT-45793] - clone api and add rules to segment list (#359) #88
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: Auto-create PR | |
on: | |
push: | |
branches: | |
- adobe | |
jobs: | |
create-pr: | |
runs-on: ubuntu-latest | |
name: Auto-create documentation PR for changes authored by Adobe employees | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Opening pull request | |
id: open-pr | |
uses: tretuna/[email protected] | |
with: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
FROM_BRANCH: "adobe" | |
TO_BRANCH: "main" | |
PULL_REQUEST_TITLE: ${{github.event.head_commit.message}} | |
PULL_REQUEST_BODY: "New documentation changes by Adobe employees" | |
- name: Auto-approve | |
uses: hmarr/auto-approve-action@v3 | |
if: github.actor == 'dplacinta' | |
with: | |
github-token: ${{ secrets.PLACINTA_TOKEN }} | |
review-message: "Auto-approved automatically created pull request" | |
pull-request-number: ${{steps.open-pr.outputs.PULL_REQUEST_NUMBER}} |