-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from creative-commoners/pulls/master/translati…
…on-issue NEW Create translation-issue.yml
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Keepalive | ||
|
||
on: | ||
# The 4th of every month at 10:50am UTC | ||
schedule: | ||
- cron: '50 10 4 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
keepalive: | ||
name: Keepalive | ||
# Only run cron on the silverstripe account | ||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Keepalive | ||
uses: silverstripe/gha-keepalive@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Translation issue | ||
|
||
on: | ||
# At 7:00am UTC on the 1st of February, May, August, and November | ||
schedule: | ||
- cron: '0 7 1 2,5,8,11 *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
translation-issue: | ||
name: Translation issue | ||
# Only run cron on the silverstripe account | ||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Translation issue | ||
uses: silverstripe/gha-issue@v1 | ||
with: | ||
title: Run translations | ||
description: | | ||
This is an automatically created issue used to run translations every 3 months.\n | ||
\n | ||
It was created by the `translation-issue.yml` workflow in the `silverstripe/.github` repository.\n | ||
\n | ||
### Triage instructions (Silverstripe Ltd CMS Squad)\n | ||
1. Put on the following labels:\n | ||
- `type/enhancement`\n | ||
- `impact/low`\n | ||
- `affects/v4`\n | ||
- `affects/v5`\n | ||
2. Move this issue to the "Ready" column on our internal zenhub board\n | ||
\n | ||
### Implementation instructions:\n | ||
1. Create an install of kitchen-sink using the oldest supported minor branch e.g. `2.13`\n | ||
2. Also install [silverstripe/tx-translator](https://github.com/silverstripe/silverstripe-tx-translator/)\n | ||
3. Follow the instructions in the `tx-translator` README.md and do a TX_PULL=1 TX_PUSH=0 run.\n | ||
4. This will create lots of pull-requests. Paste links to these pull request on this issue.\n | ||
5. Once the pull-requests have been merged, merge them up all the way to the next-minor branch e.g. `5`\n | ||
6. Create new patch releases for all supported branches on all repositories that have new translations.\n | ||
7. Create a new install of kitchen-sink using the next-minor branch e.g. `5` and also install `tx-translator` again.\n | ||
8. Do another `tx-translator` run this time use TX_PULL=0 TX_PUSH=1.\n |