FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-es/.github/workflows/pr-comment.yml at 3.14 · python/python-docs-es · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
python-docs-es
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
412
Star
365
Code
Issues
423
Pull requests
17
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-es
/
.github
/
workflows
/
pr-comment.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
68 lines (64 loc) · 2.05 KB
Breadcrumbs
python-docs-es
/
.github
/
workflows
/
pr-comment.yml
Copy path
File metadata and controls
68 lines (64 loc) · 2.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name
:
Agrega comentario a PR
on
:
pull_request_target
:
permissions
:
contents
:
read
jobs
:
define-comment
:
name
:
Entradas sin traducción
runs-on
:
ubuntu-22.04
outputs
:
any_changed
:
${{ steps.changed-files.outputs.any_changed }}
comment
:
${{ steps.create-pr-comment.outputs.comment }}
steps
:
-
uses
:
actions/checkout@v6
with
:
ref
:
${{ github.event.pull_request.head.sha }}
persist-credentials
:
false
-
name
:
Preparar Python v3.13
uses
:
actions/setup-python@v7
with
:
python-version
:
"
3.13
"
cache
:
"
pip
"
#
checkout these files from the base branch to guarantee they haven't been
#
modified by the PR
-
uses
:
actions/checkout@v6
with
:
path
:
base-branch
sparse-checkout-cone-mode
:
false
sparse-checkout
:
|
requirements-own.txt
scripts/list_missing_entries.py
-
name
:
Instalar dependencias
run
:
|
python -m pip install -r base-branch/requirements-own.txt
-
name
:
Obtiene lista de archivos con cambios
id
:
changed-files
uses
:
tj-actions/changed-files@v47
with
:
files
:
|
**/*.po
-
name
:
Calcular entradas faltantes
if
:
steps.changed-files.outputs.any_changed == 'true'
id
:
create-pr-comment
env
:
CHANGED_PO_FILES
:
${{ steps.changed-files.outputs.all_changed_files }}
run
:
|
{
echo 'comment<<EOF'
python base-branch/scripts/list_missing_entries.py --github $CHANGED_PO_FILES
echo EOF
} >> "$GITHUB_OUTPUT"
write-comment
:
runs-on
:
ubuntu-22.04
needs
:
[define-comment]
if
:
needs.define-comment.outputs.any_changed == 'true'
permissions
:
issues
:
write
pull-requests
:
write
steps
:
-
name
:
Agregar comentario con entradas faltantes
uses
:
thollander/actions-comment-pull-request@v3
with
:
message
:
${{ needs.define-comment.outputs.comment }}
comment-tag
:
missing-entries
Back
|
FazBrowse Home
|
New Git URL