Skip to content

Automatic PR dev->master #157

Automatic PR dev->master

Automatic PR dev->master #157

name: check_target
on: [push, pull_request]
jobs:
check_target:
runs-on: ubuntu-latest
steps:
- if: ${{ (github.event.pull_request.head.ref == 'dev' && github.event.pull_request.base.ref == 'master') || github.event.pull_request.base.ref == 'dev' }}
run: exit 0
- if: ${{ github.event.pull_request.base.ref != 'dev' }}
run: exit 1