Skip to content

Remove Slack deploym ann, add commit message to Zulip ann #585

Remove Slack deploym ann, add commit message to Zulip ann

Remove Slack deploym ann, add commit message to Zulip ann #585

Workflow file for this run

name: "Ship It!"
concurrency:
# There should only be able one running job per repository / branch combo.
# We do not want multiple deploys running in parallel.
group: ${{ github.repository }}-${{ github.ref_name }}
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
# All jobs have the same outcome. We define multiple for resiliency reasons.
jobs:
# In thechangelog/changelog repository (a.k.a. upstream),
# this is the preferred default:
dagger-on-namespace:
if: ${{ contains(vars.RUNS_ON, 'namespace') }}
uses: ./.github/workflows/dagger_on_namespace.yml

Check failure on line 21 in .github/workflows/ship_it.yml

View workflow run for this annotation

GitHub Actions / Ship It!

Invalid workflow file

The workflow is not valid. In .github/workflows/ship_it.yml (Line: 21, Col: 11): Error from called workflow thechangelog/changelog.com/.github/workflows/dagger_on_namespace.yml@970acae1ebf75b625c12518eae61ebe14922d144 (Line: 72, Col: 20): Unexpected symbol: 'sha::0:7'. Located at position 8 within expression: github.sha::0:7
secrets: inherit
# Just in case Namespace.so misbehaves, we want a fallback:
# a.k.a. "Always run 2 of everything"
dagger-on-github-fallback:
needs: dagger-on-namespace
if: ${{ failure() }}
uses: ./.github/workflows/dagger_on_github.yml
secrets: inherit
# This is an experimental job which only runs the CI part of our pipeline.
# In other words, this does not run CD, it does not deploy our app.
dagger-on-k8s:
if: ${{ contains(vars.RUNS_ON, 'k8s') }}
uses: ./.github/workflows/dagger_on_k8s.yml
secrets: inherit
# As forks will not have access to our Namespace.so,
# we fallback to GitHub default:
dagger-on-github:
if: ${{ !contains(vars.RUNS_ON, 'namespace') }}
uses: ./.github/workflows/dagger_on_github.yml
secrets: inherit