Skip to content

pe-utils 2.3.5 upgrade, no timeout on build job, -y to apt install #82

pe-utils 2.3.5 upgrade, no timeout on build job, -y to apt install

pe-utils 2.3.5 upgrade, no timeout on build job, -y to apt install #82

Workflow file for this run

name: Check PR Base
on:
pull_request:
types: [opened, edited]
jobs:
check-pr-base:
runs-on: ubuntu-latest
steps:
- name: Reject PR due to incorrect base
if: ( !(github.base_ref == 'master' && github.head_ref == 'dev') && github.base_ref != 'dev') && (github.event.action == 'opened' || (github.event.action == 'edited' && github.event.changes.base.ref))
uses: andrewmusgrave/automatic-pull-request-review@0.0.5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
event: REQUEST_CHANGES
body: 'Please change your PR base to dev branch.'
- name: Approve PR because it's based against dev branch
if: ((github.base_ref == 'master' && github.head_ref == 'dev') || github.base_ref == 'dev') && github.event.changes.base && github.event.changes.base.ref.from != 'dev'
uses: andrewmusgrave/automatic-pull-request-review@0.0.5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
event: APPROVE
body: 'Your PR is based against the dev branch. Looks good.'