c37235381f
* feat(deployment): package as Docker image & Helm Chart * remove erroneous permission request * fix corepack issue * fix prettier * deployment testing of helm chart with ctlptl, tilt & kind * fix linting * remove need for license to be mounted * ensure consistency in naming * incorporate copilot comments * fix CI pipeline * fix * incorporate copilot review comments * include MIXPANEL environment variable * remove single quotes from NODE_ENV ARG --------- Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
40 lines
954 B
YAML
40 lines
954 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true # other running workflows get cancelled on the same branch
|
|
|
|
permissions: {} # purposefully empty by default at workflow level, explicitly overridden for specific jobs below
|
|
|
|
jobs:
|
|
get-version:
|
|
uses: ./.github/workflows/get-version.yml
|
|
with: {}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
|
|
lint:
|
|
uses: ./.github/workflows/lint.yml
|
|
with: {}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
|
|
build:
|
|
needs:
|
|
- get-version
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
PUBLISH: false
|
|
IMAGE_VERSION_TAG: ${{ needs.get-version.outputs.IMAGE_VERSION_TAG }}
|
|
secrets: {}
|
|
permissions:
|
|
contents: read
|
|
packages: write # to be able to push images to ghcr.io, even if PUBLISH is false, as permissions is static at workflow level
|