Skip to content

Merge pull request #3 from alafumee/copy_branch #3

Merge pull request #3 from alafumee/copy_branch

Merge pull request #3 from alafumee/copy_branch #3

Workflow file for this run

name: create pr from fork
on:
repository_dispatch:
types: [create_pr]
jobs:
create_pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add downstream
run: git remote add hj https://github.com/hjenryin/testrepo.git
- name: Fetch
run: git fetch hj

Check failure on line 16 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- name: Create pr
- run: git checkout hj/new_test; gh pr create --title "t" --body "content" --repo alafumee/testrepo
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}