File tree 1 file changed +14
-6
lines changed
1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ permissions:
7
7
contents : read
8
8
9
9
jobs :
10
- pr -comment :
10
+ define -comment :
11
11
name : Entradas sin traducción
12
12
runs-on : ubuntu-22.04
13
- permissions :
14
- issues : write
15
- pull-requests : write
13
+ outputs :
14
+ any_changed : ${{ steps.changed-files.outputs.any_changed }}
15
+ comment : ${{ steps.create-pr-comment.outputs.comment }}
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
with :
43
43
python scripts/list_missing_entries.py --github $CHANGED_PO_FILES
44
44
echo EOF
45
45
} >> "$GITHUB_OUTPUT"
46
+
47
+ write-comment :
48
+ runs-on : ubuntu-22.04
49
+ needs : [define-comment]
50
+ if : needs.define-comment.outputs.any_changed == 'true'
51
+ permissions :
52
+ issues : write
53
+ pull-requests : write
54
+ steps :
46
55
- name : Agregar comentario con entradas faltantes
47
- if : steps.changed-files.outputs.any_changed == 'true'
48
56
uses : thollander/actions-comment-pull-request@v2
49
57
with :
50
- message : ${{ steps.create-pr -comment.outputs.comment }}
58
+ message : ${{ needs.define -comment.outputs.comment }}
51
59
comment_tag : missing-entries
You can’t perform that action at this time.
0 commit comments