.github/workflows/actions.yaml: Run CI on pull requests too

Not just on pushes
This commit is contained in:
Sevan Janiyan 2023-04-01 04:02:19 +01:00 committed by Dan Cross
parent b5e415d97d
commit be7c68f695

View file

@ -1,6 +1,10 @@
name: GitHub Actions Build name: GitHub Actions Build
run-name: ${{ github.actor }} triggered a build run-name: ${{ github.actor }} triggered a build
on: [push] on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs: jobs:
Build-on-Ubuntu: Build-on-Ubuntu:
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]