🔄 Synced local '.' with remote 'templates/proto/' (#20)

This commit is contained in:
Vality Bot 2022-11-25 18:25:18 +07:00 committed by GitHub
parent 99d0c5c3b1
commit bb96f8c153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 15 deletions

23
.github/mergify.yml vendored Normal file
View File

@ -0,0 +1,23 @@
pull_request_rules:
- name: automatic merge for Renovate pull requests
conditions:
- "author=renovate[bot]"
- "check-success=java-build / build"
- "check-success=erlang-build / Build"
- or:
- "check-success=frontend-build"
- "check-skipped=frontend-build"
actions:
merge:
method: squash
- name: automatic merge for valitydev bot pull requests
conditions:
- "author=valitydev-bot"
- "check-success=java-build / build"
- "check-success=erlang-build / Build"
- or:
- "check-success=frontend-build"
- "check-skipped=frontend-build"
actions:
merge:
method: squash

View File

@ -1,4 +1,4 @@
name: Erlang build
name: "Erlang: PR"
on:
pull_request:
@ -6,7 +6,7 @@ on:
- "*"
jobs:
build:
erlang-build:
uses: valitydev/erlang-workflows/.github/workflows/erlang-simple-build.yml@v1
with:
otp-version: 24

View File

@ -1,14 +1,14 @@
name: 'Frontend: PR'
name: "Frontend: PR"
on:
pull_request:
branches: ['*']
branches:
- "*"
jobs:
configured:
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
check:
name: Check
frontend-build:
runs-on: ubuntu-latest
needs: configured
if: needs.configured.outputs.exists == 'true'
@ -16,6 +16,6 @@ jobs:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1
- uses: valitydev/action-setup-thrift@v1.0.1
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
- name: Codegen
run: npm run codegen

View File

@ -1,8 +1,10 @@
name: 'Frontend: Publish'
name: "Frontend: Publish"
on:
push:
branches: ['master', 'main']
branches:
- "master"
- "main"
jobs:
configured:
@ -11,7 +13,7 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs: configured
if: needs.configured.outputs.exists == 'true'
if: needs.configured.outputs.exists
steps:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1

View File

@ -1,4 +1,4 @@
name: Java deploy
name: "Java: Deploy"
on:
push:
@ -8,7 +8,7 @@ on:
jobs:
deploy:
uses: valitydev/java-workflow/.github/workflows/maven-thrift-deploy.yml@v1
uses: valitydev/java-workflow/.github/workflows/maven-thrift-deploy.yml@v2
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}

View File

@ -1,4 +1,4 @@
name: Java build
name: "Java: PR"
on:
pull_request:
@ -6,5 +6,5 @@ on:
- "*"
jobs:
build:
uses: valitydev/java-workflow/.github/workflows/maven-thrift-build.yml@v1
java-build:
uses: valitydev/java-workflow/.github/workflows/maven-thrift-build.yml@v2