How to check both label and title of an issue?

I want to check both title and label of and issue and only if both are present then it runs further.

name: Process master branch updates

on:
  issues:
    types: [opened]

jobs:
  prepare-master:
    if: ${{ github.event.issue.title == 'Deploy' && github.event.label.name == 'deployment' }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: echo "Everything is good"
     ......

Thanks in advance.