Skip to content

Commit

Permalink
Merge pull request #59 from creative-commoners/pulls/master/translati…
Browse files Browse the repository at this point in the history
…on-issue

NEW Create translation-issue.yml
  • Loading branch information
GuySartorelli authored Jun 13, 2023
2 parents 503a759 + d52345d commit 43c0ae4
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/keepalive.yml
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
41 changes: 41 additions & 0 deletions .github/workflows/translation-issue.yml
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

0 comments on commit 43c0ae4

Please sign in to comment.