updated the tcl and bt_tb_io_update.py script for EDA-2843 #69
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 Merge | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run a multi-line script | |
run: | | |
assigned_user=$(gh pr view ${{ github.event.pull_request.head.ref }} --json reviewRequests --jq '.reviewRequests[0].login') | |
echo "Assigned user: $assigned_user" | |
if [[ $assigned_user == "NadeemYaseen" ]] | |
then | |
gh pr merge ${{ github.event.pull_request.head.ref }} -m -d -t "Auto merge by $assigned_user" | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |