Skip to content

Merge branch 'main' into OpenPMD/01 #245

Merge branch 'main' into OpenPMD/01

Merge branch 'main' into OpenPMD/01 #245

Workflow file for this run

# Script to make a PR if the push is from DCS.
name: dcs16_push
on:
push:
branches-ignore: main
#
env:
EXTERNAL_DEPS_VERSION: main
# secrets.DCS_PUSH allows the ci.yml workflow to be triggered by this workflow. Documentation at:
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
# DCS_PUSH is defined: in bmad-ecosystem -> Settings -> Secrets and variables -> Actions
jobs:
create-pull-request:
if: ${{ github.triggering_actor == 'DavidSagan' }}
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: gh pr create -B main -H ${{ github.ref_name }} --title "${{ github.event.head_commit.message }}" --body "${{ github.event.head_commit.message }}"
env:
GITHUB_TOKEN: ${{ secrets.DCS_PUSH }}