Runs checks only if you changed it

This commit is contained in:
Adria Navarro 2024-03-27 11:37:13 +01:00
parent df52b6937a
commit d3fdf4add8
1 changed files with 9 additions and 1 deletions

View File

@ -264,7 +264,15 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
- name: Check account portal commit - uses: dorny/paths-filter@v3
id: changes
with:
filters: |
src:
- packages/account-portal/**
- if: steps.changes.outputs.changes.src == 'true'
name: Check account portal commit
id: get_accountportal_commits id: get_accountportal_commits
run: | run: |
cd packages/account-portal cd packages/account-portal