Skip to content

Update the cookiecutter template #23

Update the cookiecutter template

Update the cookiecutter template #23

name: Update the cookiecutter template
on:
workflow_dispatch:
workflow_run:
workflows:
- Build and publish Docker image
types:
- completed
jobs:
updaterepos:
if: (github.event_name == 'workflow_dispatch') || (github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-22.04
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.RUN_ACTIONS_MARESB_PA_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'maresb',
repo: 'cookiecutter-micromamba-devcontainer',
workflow_id: 'update-base-image.yml',
ref: 'main'
})