mirror of
https://github.com/valitydev/xrates-proto.git
synced 2024-11-06 00:25:21 +00:00
🔄 Synced local '.' with remote 'templates/proto/' (#20)
This commit is contained in:
parent
99d0c5c3b1
commit
bb96f8c153
23
.github/mergify.yml
vendored
Normal file
23
.github/mergify.yml
vendored
Normal 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
|
4
.github/workflows/erlang-pr.yml
vendored
4
.github/workflows/erlang-pr.yml
vendored
@ -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
|
||||
|
10
.github/workflows/frontend-pr.yml
vendored
10
.github/workflows/frontend-pr.yml
vendored
@ -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
|
||||
|
8
.github/workflows/frontend-publish.yml
vendored
8
.github/workflows/frontend-publish.yml
vendored
@ -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
|
||||
|
4
.github/workflows/java-deploy.yml
vendored
4
.github/workflows/java-deploy.yml
vendored
@ -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 }}
|
||||
|
6
.github/workflows/java-pr.yml
vendored
6
.github/workflows/java-pr.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user