mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
[DEVOPS-862] Updates the paths trigger (#2180)
This commit is contained in:
parent
b86a04cef9
commit
c33732d583
4
.github/workflows/protect-files.yml
vendored
4
.github/workflows/protect-files.yml
vendored
@ -11,7 +11,7 @@ on:
|
||||
- opened
|
||||
- synchronize
|
||||
paths:
|
||||
- "util/Migrator/DbScripts"
|
||||
- "util/Migrator/DbScripts/**.sql"
|
||||
|
||||
jobs:
|
||||
changed-files:
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
needs:
|
||||
- changed-files
|
||||
if: contains(needs.changed-files.outputs.changes, "true") || job.changed-files.status == "failure"
|
||||
if: needs.changed-files.outputs.changes == "true" || job.changed-files.status == "failure"
|
||||
steps:
|
||||
- name: Label PR
|
||||
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
||||
|
Loading…
Reference in New Issue
Block a user