diff --git a/.github/workflows/check_project_metadata.yaml b/.github/workflows/check_project_metadata.yaml index a36cc509..d52d2b7f 100644 --- a/.github/workflows/check_project_metadata.yaml +++ b/.github/workflows/check_project_metadata.yaml @@ -1,10 +1,15 @@ name: Check Project Metadata + on: push: branches: [main] + paths: + - 'src/scribe_data/resources/**/*.json' pull_request: branches: [main] types: [opened, reopened, synchronize] + paths: + - 'src/scribe_data/resources/**/*.json' jobs: structure-check: @@ -18,6 +23,8 @@ jobs: runs-on: ${{ matrix.os }} + name: Run Check Project Metadata + steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/check_query_forms.yaml b/.github/workflows/check_query_forms.yaml index 6c99caa1..2c7227d6 100644 --- a/.github/workflows/check_query_forms.yaml +++ b/.github/workflows/check_query_forms.yaml @@ -1,10 +1,15 @@ name: Check Query Forms + on: push: branches: [main] + paths: + - 'src/scribe_data/wikidata/language_data_extraction/**/*.sparql' pull_request: branches: [main] types: [opened, reopened, synchronize] + paths: + - 'src/scribe_data/wikidata/language_data_extraction/**/*.sparqll' jobs: format_check: diff --git a/.github/workflows/check_query_identifiers.yaml b/.github/workflows/check_query_identifiers.yaml index ef3e7bd4..93b4223d 100644 --- a/.github/workflows/check_query_identifiers.yaml +++ b/.github/workflows/check_query_identifiers.yaml @@ -1,10 +1,15 @@ name: Check Query Identifiers + on: push: branches: [main] + paths: + - 'src/scribe_data/wikidata/language_data_extraction/**/*.sparql' pull_request: branches: [main] types: [opened, reopened, synchronize] + paths: + - 'src/scribe_data/wikidata/language_data_extraction/**/*.sparql' jobs: format_check: