..
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
tea login add --name gitea-rinoa --url ${{ secrets.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
|
tea login add --name gitea-rinoa --url ${{ secrets.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
tea login default gitea-rinoa
|
tea login default gitea-rinoa
|
||||||
echo "Checking if PR exists for ${{ github.ref_name }}..."
|
echo "Checking if PR exists for ${{ github.ref_name }}..."
|
||||||
tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head,state --output csv | egrep '${{ github.ref_name }}' | head -1 | egrep 'open'
|
tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head,state --output csv | egrep '${{ github.ref_name }}' | head -1 | egrep -q 'open'
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "An open PR exists, skipping creation..."
|
echo "An open PR exists, skipping creation..."
|
||||||
elif [ $? -eq 1 ]; then
|
elif [ $? -eq 1 ]; then
|
||||||
|
|||||||
+1
-1
@@ -3031,7 +3031,7 @@ services:
|
|||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
MYSQL_PASSWORD: VQU23wHKRNmfpAPt5E9BxMaSGJdWjLuz
|
MYSQL_PASSWORD: VQU23wHKRNmfpAPt5E9BxMaSGJdWjLuz
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "/usr/bin/mariadb -u root -p${MARIADB_ENVIRONMENT_MYSQL_ROOT_PASSWORD} -e \"SHOW DATABASES;\""
|
test: /usr/bin/mariadb -u root -p${MARIADB_ENVIRONMENT_MYSQL_ROOT_PASSWORD} -e "SHOW DATABASES;"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user