File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 46
46
- name : Detect changed files
47
47
run : echo "CHANGED_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }} | tr '\n' ' ')" >> $GITHUB_ENV
48
48
49
- # Display changed files
50
- - name : Display changed files
51
- run : echo ${CHANGED_FILES}
52
-
53
49
# Wrap changed files
54
50
- name : Wrap
55
51
run : |
@@ -66,10 +62,13 @@ jobs:
66
62
done
67
63
fi
68
64
65
+ # Detect changed files
66
+ - name : Detect changed files
67
+ echo "WRAPPED=$(git diff --name-only | tr '\n' ' ')" >> $GITHUB_ENV
68
+
69
69
# Commit changes
70
70
- name : Commit changes
71
71
run : |
72
- echo "WRAPPED=$(git diff --name-only | tr '\n' ' ')" >> $GITHUB_ENV
73
72
array=($WRAPPED)
74
73
len=${#array[@]}
75
74
if [[ $len -eq 0 ]]; then
82
81
git commit -m "Wrap translations"
83
82
fi
84
83
85
- # Display changed files
86
- - name : Display changed files
87
- run : echo ${WRAPPED}
88
-
89
- # # Push changes
90
- # - name: Push changes
91
- # uses: ad-m/github-push-action@master
92
- # with:
93
- # github_token: ${{ secrets.GITHUB_TOKEN }}
94
- # branch: ${{ github.event.pull_request.head.ref }}
84
+ # Push changes
85
+ - name : Push changes
86
+ uses : ad-m/github-push-action@master
87
+ with :
88
+ github_token : ${{ secrets.GITHUB_TOKEN }}
89
+ branch : ${{ github.event.pull_request.head.ref }}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ msgstr ""
20
20
#: library/stdtypes.rst:8
21
21
msgid "Built-in Types"
22
22
msgstr ""
23
- "TEST TEST TEST TEST "
23
+ "TEST TEST"
24
24
25
25
#: library/stdtypes.rst:10
26
26
msgid ""
You can’t perform that action at this time.
0 commit comments