FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-de/.github/workflows/branch-drift.yml at 3.15 · python/python-docs-de · GitHub
python
python-docs-de
Repository navigation
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-de
/
.github
/
workflows
/
branch-drift.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
72 lines (63 loc) · 2.13 KB
Breadcrumbs
python-docs-de
/
.github
/
workflows
/
branch-drift.yml
Copy path
File metadata and controls
72 lines (63 loc) · 2.13 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
69
70
71
72
#
Meldet, wenn 3.14 und 3.15 inhaltlich auseinanderlaufen.
#
#
Gearbeitet wird in 3.15, von dort wird nach 3.14 gespiegelt. Solange das so
#
bleibt, kann es keine Konflikte geben: ein Konflikt entsteht nur, wenn sich
#
BEIDE Seiten seit ihrem gemeinsamen Vorfahren bewegt haben. Dieser Lauf ist
#
das Frühwarnsystem dafür -- und dafür, dass msgmerge in 3.14 Übersetzungen
#
entfernt hat, die in 3.15 noch stehen.
#
#
Der Zeitplan liegt bewusst nach "Sync Check with Upstream" (montags 3 Uhr),
#
denn genau dessen msgmerge-Lauf erzeugt die Abweichungen.
name
:
Branch-Abgleich 3.15 nach 3.14
on
:
schedule
:
-
cron
:
'
0 9 * * 1
'
#
montags 9 Uhr, sechs Stunden nach dem Upstream-Sync
workflow_dispatch
:
permissions
:
contents
:
read
jobs
:
abgleich
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
3.14 auschecken (Zielbranch), mit voller Historie
uses
:
actions/checkout@v5
with
:
ref
:
'
3.14
'
fetch-depth
:
0
-
uses
:
actions/setup-python@v6
with
:
python-version
:
'
3.x
'
-
name
:
polib installieren
run
:
pip install polib
-
name
:
Trockenlauf 3.14 <- 3.15
id
:
trockenlauf
shell
:
bash
run
:
|
python tools/sync_branches.py \
--von origin/3.15 --leere-ziele \
-o konflikte.md 2>&1 | tee ergebnis.txt
-
name
:
Bericht in die Zusammenfassung schreiben
if
:
always()
shell
:
bash
run
:
|
{
echo "## Abgleich 3.14 <- 3.15"
echo
echo '```'
cat ergebnis.txt 2>/dev/null || echo "(kein Ergebnis)"
echo '```'
if [ -s konflikte.md ]; then
echo
echo "Beide Branches haben dieselben Einträge geändert."
echo "Diese Stellen wurden NICHT angefasst:"
echo
head -c 60000 konflikte.md
fi
} >> "$GITHUB_STEP_SUMMARY"
-
name
:
Konfliktbericht als Artefakt ablegen
if
:
always()
uses
:
actions/upload-artifact@v4
with
:
name
:
konflikte
path
:
konflikte.md
if-no-files-found
:
ignore
Back
|
FazBrowse Home
|
New Git URL