${{ github.ref }} equal to 'refs/heads/branch' if the event is "push" and It is equal to 'refs/pull/#pr/megre' for a pull-request.
${{ github.ref }} equal to 'refs/heads/branch' if the event is "push" and It is equal to 'refs/pull/#pr/megre' for a pull-request.