mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05: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
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
paths:
|
paths:
|
||||||
- "util/Migrator/DbScripts"
|
- "util/Migrator/DbScripts/**.sql"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changed-files:
|
changed-files:
|
||||||
@ -51,7 +51,7 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs:
|
needs:
|
||||||
- changed-files
|
- 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:
|
steps:
|
||||||
- name: Label PR
|
- name: Label PR
|
||||||
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
|
||||||
|
Loading…
x
Reference in New Issue
Block a user