name: Call build-deb
on:
  pull_request_target:
    paths-ignore:
      - ".github/workflows/**"
    types: [ opened, closed, synchronize ]

concurrency:
  group: ${{ github.workflow }}-pull/${{ github.event.number }}
  cancel-in-progress: true

jobs:
  check_job:
    if: github.event.action != 'closed' || github.event.pull_request.merged
    uses: linuxdeepin/.github/.github/workflows/build-deb.yml@master
    secrets:
      BridgeToken: ${{ secrets.BridgeToken }}
