Skip to content

test5

test5 #6

Workflow file for this run

# This is a basic workflow that is manually triggered
name: Subtree Push
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
pull_request:
types:
- closed
branches:
- main
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
subtree-push:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
# Runs a single command using the runners shell
- name: Echo and change directory
run: |
echo "This PR will be merged"
cd ${GITHUB_WORKSPACE}
- name: Push Subtree
run: |
git subtree push --prefix=${GITHUB_WORKSPACE}/ir https://github.com/dongmin-ra/subtree_test_slave.git main