File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
python-version : " 3.11"
25
25
cache : " pip"
26
+ # checkout these files from the base branch to guarantee they haven't been
27
+ # modified by the PR
28
+ - uses : actions/checkout@v4
29
+ with :
30
+ path : base-branch
31
+ sparse-checkout-cone-mode : false
32
+ sparse-checkout : |
33
+ requirements.txt
34
+ scripts/list_missing_entries.py
26
35
- name : Instalar dependencias
27
36
run : |
28
- python -m pip install -r requirements.txt
37
+ python -m pip install -r base-branch/ requirements.txt
29
38
- name : Obtiene lista de archivos con cambios
30
39
id : changed-files
31
40
uses : tj-actions/changed-files@v40
40
49
run : |
41
50
{
42
51
echo 'comment<<EOF'
43
- python scripts/list_missing_entries.py --github $CHANGED_PO_FILES
52
+ python base-branch/ scripts/list_missing_entries.py --github $CHANGED_PO_FILES
44
53
echo EOF
45
54
} >> "$GITHUB_OUTPUT"
46
55
You can’t perform that action at this time.
0 commit comments