name: PR status check of changed lambda dirs

permissions:
  id-token: write
  contents: read
  issues: write

on:
  workflow_dispatch:
  pull_request:
    branches:
    - 'main'
    types:
    - opened
    - edited
    - reopened
    - synchronize

env:
  AWS_REGION: us-east-1
  AWS_SECRET_REGION: 'eu-west-2'

jobs:
  jira_ticket_checks:
    runs-on: ubuntu-22.04
    steps:
      - name: jira ticket fields validation
        uses: perimeter-81/actions/actions/pr_status_checks/generic_node_jira@main
