Skip to content

Commit

Permalink
Merge pull request #780 from JoomlaPolska/add/jversion
Browse files Browse the repository at this point in the history
  • Loading branch information
tecpromotion authored Oct 12, 2023
2 parents 8451137 + 15278be commit ac89873
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_en-gb-localise-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/files_affected)
echo -n "$aflp" > ${{ github.workspace}}/logs/languagepacks_affected
echo -n "$affi" > ${{ github.workspace}}/logs/files_affected
echo -n "v4" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/en_gblocalise_result
- name: Save PR number
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_en-gb-localise-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/files_affected)
echo -n "$aflp" > ${{ github.workspace}}/logs/languagepacks_affected
echo -n "$affi" > ${{ github.workspace}}/logs/files_affected
echo -n "v5" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/en_gblocalise_result

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/_jexec_translations-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: Checkout Source Code
uses: actions/checkout@v4

- name: Check PR content Joomla 4
id: build-v4
run: |
Expand All @@ -32,6 +33,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/files_affected_jexec)
echo -n "$aflp" > ${{ github.workspace}}/logs/languagepacks_affected_jexec
echo -n "$affi" > ${{ github.workspace}}/logs/files_affected_jexec
echo -n "v4" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/jexec_result
- name: Save PR number
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/_jexec_translations-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: Checkout Source Code
uses: actions/checkout@v4

- name: Check PR content Joomla 5
id: build-v5
run: |
Expand All @@ -32,6 +33,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/files_affected_jexec)
echo -n "$aflp" > ${{ github.workspace}}/logs/languagepacks_affected_jexec
echo -n "$affi" > ${{ github.workspace}}/logs/files_affected_jexec
echo -n "v5" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/jexec_result
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/_long-arrays-localise-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- name: Checkout Source Code
uses: actions/checkout@v4

- name: Check PR content Joomla v4
id: build-v4
run: |
Expand All @@ -31,6 +32,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/long_arrays_files_affected)
echo -n "$aflp" > ${{ github.workspace}}/logs/long_arrays_languagepacks_affected
echo -n "$affi" > ${{ github.workspace}}/logs/long_arrays_files_affected
echo -n "v4" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/long_arrays_result
- name: Save PR number
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_long-arrays-localise-v5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
affi=$(head -n 1 ${{ github.workspace}}/logs/long_arrays_files_affected)
echo -n "$aflp" > ${{ github.workspace}}/logs/long_arrays_languagepacks_affected
echo -n "$affi" > ${{ github.workspace}}/logs/long_arrays_files_affected
echo -n "v5" > ${{ github.workspace}}/logs/jversion
cat ${{ github.workspace}}/logs/long_arrays_result

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_pr-commen_long_arrays.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: marocchino/sticky-pull-request-comment@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
header: long-arrays ${{ steps.artifact.outputs.pr_number }}
header: long-arrays ${{ steps.artifact.outputs.pr_number }} ${{ steps.artifact.outputs.jversion }}
number: ${{ steps.artifact.outputs.pr_number }}
message: |
The following translation files contain the long arrays syntax on ${{ steps.artifact.outputs.pr_sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: marocchino/sticky-pull-request-comment@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
header: En_GBLocalise-class ${{ steps.artifact.outputs.pr_number }}
header: En_GBLocalise-class ${{ steps.artifact.outputs.pr_number }} ${{ steps.artifact.outputs.jversion }}
number: ${{ steps.artifact.outputs.pr_number }}
message: |
The following translation files contain the En_GBLocalise class on ${{ steps.artifact.outputs.pr_sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_pr-comment_jexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: marocchino/sticky-pull-request-comment@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
header: JEXEC ${{ steps.artifact.outputs.pr_number }}
header: JEXEC ${{ steps.artifact.outputs.pr_number }} ${{ steps.artifact.outputs.jversion }}
number: ${{ steps.artifact.outputs.pr_number }}
message: |
The following translation files don't contain the JEXEC on ${{ steps.artifact.outputs.pr_sha }}
Expand Down

0 comments on commit ac89873

Please sign in to comment.