Skip to content

Commit

Permalink
Changed configuration of the ci pipeline when it should trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Stiborek committed Sep 25, 2024
1 parent 45c1a0a commit a6ce806
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Build

on:
push:
workflow_dispatch:
pull_request_target:
types: [assigned, opened, synchronize, reopened]
push:
branches:
- master
pull_request:
branches:
- master

env:
WORKING_DIRECTORY: 'dlib'
Expand All @@ -20,6 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: true

- uses: actions/setup-python@v5
Expand Down Expand Up @@ -60,6 +63,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: true

- name: Checkout build commit
Expand Down

0 comments on commit a6ce806

Please sign in to comment.