only build on master push

This commit is contained in:
brentru 2023-11-08 16:07:02 -05:00
parent 0d1146d2ee
commit 15e1f44e7a

View file

@ -1,20 +1,14 @@
name: Build-CI name: Build-CI
on: [pull_request_target, push] on:
push:
branches:
- master
jobs: jobs:
approve: # First step
runs-on: ubuntu-latest
steps:
- name: Approve
run: echo For security reasons, all pull requests to this repository need to be approved first before running any automated CI.
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [approve] # Require the first step to finish
environment: environment:
name: IO name: IO
steps: steps: