Skip to content

Commit 9cd73d3

Browse files
authored
Merge pull request #1435 from Azure/jcotillo/update_rp_in_autogen_check
Update RP in autogenlist check
2 parents c8a2a21 + b7d71f7 commit 9cd73d3

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,7 @@ jobs:
5858
echo $check_result;
5959
done <<< "$exec";
6060
61-
echo "AUTOGENLIST_CHECK_RESULT=$check_result" >> $GITHUB_ENV;
61+
if [ $check_result == 'false' ] ; then
62+
exit 1
63+
fi
6264
working-directory: ./generator
63-
64-
- name: Automerge
65-
if: ${{ env.AUTOGENLIST_CHECK_RESULT == 'true' }}
66-
uses: "pascalgn/automerge-action@v0.12.0"
67-
env:
68-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
69-
MERGE_LABELS: ""
70-
UPDATE_LABELS: ""

0 commit comments

Comments
 (0)