made app stats more robust because of malformed EE2 records with miss… #52
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: Pull Request Build, Tag, & Push | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
- master | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
jobs: | |
build-develop-open: | |
if: github.base_ref == 'develop' && github.event.pull_request.merged == false | |
uses: kbase/.github/.github/workflows/reusable_build.yml@main | |
secrets: inherit | |
build-develop-merge: | |
if: github.base_ref == 'develop' && github.event.pull_request.merged == true | |
uses: kbase/.github/.github/workflows/reusable_build-push.yml@main | |
with: | |
name: '${{ github.event.repository.name }}-develop' | |
tags: pr-${{ github.event.number }},latest | |
secrets: inherit | |
build-main-open: | |
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false | |
uses: kbase/.github/.github/workflows/reusable_build-push.yml@main | |
with: | |
name: '${{ github.event.repository.name }}' | |
tags: pr-${{ github.event.number }} | |
secrets: inherit | |
build-main-merge: | |
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == true | |
uses: kbase/.github/.github/workflows/reusable_build-push.yml@main | |
with: | |
name: '${{ github.event.repository.name }}' | |
tags: pr-${{ github.event.number }},latest-rc | |
secrets: inherit | |
trivy-scans: | |
if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false | |
uses: kbase/.github/.github/workflows/reusable_trivy-scans.yml@main | |
secrets: inherit |