name: env block-level mapping (FP — bind, not exec)
on:
  pull_request_target:
    branches: [main]

env:
  PR_TITLE: ${{ github.event.pull_request.title }}

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Use env safely
        run: echo "$PR_TITLE"
