added design195 with post synth sim fail #183
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 Merge | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Try auto merge | |
run: | | |
if [ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]; then | |
assigned_user=$(gh pr view ${{ github.event.pull_request.head.ref }} --json reviewRequests --jq '.reviewRequests[0].login') | |
fi | |
echo "Assigned user: $assigned_user" | |
if [[ $assigned_user == "NadeemYaseen" ]] | |
then | |
gh pr merge ${{ github.event.pull_request.head.ref }} --auto -m -d -t "Auto merge by $assigned_user" | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |