Skip to content

fix(dashboards): rename lineage field to outbreakLineage and update v… #465

fix(dashboards): rename lineage field to outbreakLineage and update v…

fix(dashboards): rename lineage field to outbreakLineage and update v… #465

Workflow file for this run

name: Create PR to Update Prod
on:
push:
branches:
- main
jobs:
create-pr:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout main branch
uses: actions/checkout@v7.0.0
with:
ref: main
- name: Create Pull Request to prod
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if gh pr list --base prod --head main --state open --json number | jq -e '. | length > 0'; then
echo "PR to update prod from main already exists - skipping creation"
else
body="This pull request updates the \`prod\` branch with the latest changes from the \`main\` branch.
# ⚠️ Do not squash-merge! ⚠️
Make sure to merge this creating a merge commit."
gh pr create --base prod --head main --title "chore: update prod from main" --body "$body"
fi