Use the last MINOR version in updaters

We have three workflows that automatically update the code. They are
using version 2.0 as a base to create their changes. We need to update
that because the last supported version is 2.1.

Since I do not think it is a good idea to change code every time a new
MINOR version is released, I moved that value to a repository secret.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2021-02-06 13:02:07 +01:00
parent 5a0b53831f
commit f1be7302fc
No known key found for this signature in database
GPG key ID: 221E9281655813A6
3 changed files with 6 additions and 6 deletions

View file

@ -17,7 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "2.0"
ref: ${{ secrets.LAST_MINOR_VERSION }}
- name: Execute script
run: bin/update-currency-codes
@ -29,5 +29,5 @@ jobs:
author: The Respect Panda <therespectpanda@gmail.com>
commit-message: Update list of currency codes
title: Update list of currency codes
base: "2.0"
base: ${{ secrets.LAST_MINOR_VERSION }}
branch: "workflows/update-currency-codes"

View file

@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "2.0"
ref: ${{ secrets.LAST_MINOR_VERSION }}
- name: Execute script
run: bin/update-language-codes
@ -26,5 +26,5 @@ jobs:
author: The Respect Panda <therespectpanda@gmail.com>
commit-message: Update list of language codes
title: Update list of language codes
base: "2.0"
base: ${{ secrets.LAST_MINOR_VERSION }}
branch: "workflows/update-language-codes"

View file

@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "2.0"
ref: ${{ secrets.LAST_MINOR_VERSION }}
- name: Execute script
run: bin/update-tld
@ -26,5 +26,5 @@ jobs:
author: The Respect Panda <therespectpanda@gmail.com>
commit-message: Update list of top-level domains
title: Update list of top-level domains
base: "2.0"
base: ${{ secrets.LAST_MINOR_VERSION }}
branch: "workflows/update-tld"