Skip to content

Commit

Permalink
Check push for commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Dec 6, 2023
1 parent 7b7faf0 commit 0437f78
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ runs:
then
echo "Event type: merge queue"
pr=$(echo ${{ github.event.merge_group.head_ref }} | grep -Eo "queue/main/pr-[0-9]+" | cut -d '-' -f2)
else
echo "Event type: not pull request or merge queue"
# pr=$(echo ${{ github.event.ref }} | grep -Eo "pr-[0-9]+" | cut -d '-' -f2)
elif [ ${{ github.event_name }} == 'push' ]
echo "Event type: push"
echo ${{ github.event.head_commit.message }}
# pr=$(echo ${{ github.event.head_commit }} | grep -Eo "pr-[0-9]+" | cut -d '-' -f2)
fi
echo "Summary ---"
Expand Down

0 comments on commit 0437f78

Please sign in to comment.