fix: properly ignore paths for backend workflow

This commit is contained in:
Phan An 2022-09-16 18:04:32 +07:00
parent 6791624ca5
commit 5d77dff3bf
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -3,21 +3,18 @@ on:
pull_request:
branches:
- master
paths:
- '!resources/assets/**'
- .github/workflows/unit-backend.yml
paths-ignore:
- resources/assets/**
push:
branches:
- master
paths:
- '!resources/assets/**'
- .github/workflows/unit-backend.yml
paths-ignore:
- resources/assets/**
workflow_dispatch:
branches:
- master
paths:
- '!resources/assets/**'
- .github/workflows/unit-backend.yml
paths-ignore:
- resources/assets/**
jobs:
test:
runs-on: ubuntu-latest