RCT/JDJ/5-23 logic correction #14
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 PR from develop branch to a feature branch | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- develop | |
env: | |
TARGET_BRANCH: feature/ashrae-9012022 #define the target branch when in parallel developing a feature | |
jobs: | |
create-pr: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.AUTO_PAT }} | |
- name: Create Pull Request from develop to feature/ashrae-9012022 | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
base: feature/ashrae-9012022 | |
branch: develop | |
title: "Merge develop into feature/update_tool" | |
body: "This PR merges the latest chagens from the develop branch into the feature/ashrae-9012022 branch" | |
reviewers: weilixu | |
draft: false | |
labels: "auto-pr" | |
token: ${{ secrets.AUTO_PAT }} |