Update poktroll proto files (#22) #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
- closed | |
push: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
draft: | |
name: 'Check Draft State' | |
if: ${{ github.event.pull_request.draft != true }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo ${{ github.event.pull_request.draft != true }} | |
echo "Pull Request is not draft, this workflow need continue." | |
on-docker: | |
name: 'Docker' | |
uses: './.github/workflows/ci-docker.yml' | |
needs: draft | |
secrets: inherit | |
strategy: | |
fail-fast: false | |
# use a matrix here to speed up the process of build both docker images. | |
matrix: | |
environment: [ production, development ] | |
with: | |
env: ${{ matrix.environment }} | |