Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcded9b1

Browse files
Add names to workflow steps (#73)
* add names to workflow* Apply suggestions from code reviewCo-authored-by: Maciej Olko <maciej.olko@affirm.com>---------Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
1 parent7a0a2fc commitcded9b1

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

‎.github/workflows/update-lint-and-build.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,36 @@ jobs:
2222
-uses:actions/setup-python@master
2323
with:
2424
python-version:3
25-
-run:sudo apt-get install -y gettext
26-
-run:pip install requests cogapp polib transifex-python sphinx-intl blurb six
27-
-run:curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
25+
-name:Install dependencies
26+
run:|
27+
sudo apt-get install -y gettext
28+
pip install requests cogapp polib transifex-python sphinx-intl blurb six
29+
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
2830
working-directory:/usr/local/bin
2931
-uses:actions/checkout@master
3032
with:
3133
ref:${{ matrix.version }}
3234
fetch-depth:0
33-
-run:./manage_translation.py recreate_tx_config
35+
-name:Recreate Transifex config
36+
run:./manage_translation.py recreate_tx_config
3437
env:
3538
TX_TOKEN:${{ secrets.TX_TOKEN }}
36-
-run:./manage_translation.py fetch
39+
-name:Fetch translations
40+
run:./manage_translation.py fetch
3741
env:
3842
TX_TOKEN:${{ secrets.TX_TOKEN }}
39-
# Process README.md
40-
-run:python -Werror -m cogapp -rP README.md
41-
if:${{ hashFiles('README.md') != '' }}
43+
-name:Update README.md
44+
run:python -Werror -m cogapp -rP README.md
4245
env:
4346
TX_TOKEN:${{ secrets.TX_TOKEN }}
44-
# Process README.en.md
45-
-run:python -Werror -m cogapp -rP README.en.md
47+
-name:Update README.en.md
48+
run:python -Werror -m cogapp -rP README.en.md
4649
if:${{ hashFiles('README.en.md') != '' }}
4750
env:
4851
TX_TOKEN:${{ secrets.TX_TOKEN }}
4952
-run:git config --local user.email github-actions@github.com
5053
-run:git config --local user.name "GitHub Action's update-translation job"
51-
#Checkforchangesin README.md
54+
-name:Check changessignificance
5255
-run:|
5356
! git diff -I'^"POT-Creation-Date: ' \
5457
-I'^"Language-Team: ' \
@@ -58,7 +61,8 @@ jobs:
5861
-run:git add .
5962
-run:git commit -m 'Update translation from Transifex'
6063
if:env.SIGNIFICANT_CHANGES
61-
-uses:ad-m/github-push-action@master
64+
-name:Push commit
65+
uses:ad-m/github-push-action@master
6266
if:env.SIGNIFICANT_CHANGES
6367
with:
6468
branch:${{ matrix.version }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp