-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 785 Bytes
/
changes.yml
File metadata and controls
32 lines (29 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Detect Changes"
on:
workflow_call:
outputs:
python:
description: "True if Python source code changed"
value: ${{ jobs.filter.outputs.python }}
tools:
description: "True if build/install tools changed"
value: ${{ jobs.filter.outputs.tools }}
jobs:
filter:
runs-on: ubuntu-latest
outputs:
python: ${{ steps.changes.outputs.python }}
tools: ${{ steps.changes.outputs.tools }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check for file changes
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
python:
- 'awscli_addons/**'
- 'pyproject.toml'
tools:
- 'tools/**'