actions/example-pull-request: checkout gets the default branch
This commit is contained in:
parent
ee4a08f2b5
commit
600dee1abf
3 changed files with 21 additions and 2 deletions
|
@ -18,6 +18,7 @@ function setup() {
|
|||
git config user.email root@example.com
|
||||
git config user.name username
|
||||
echo fork $PROOF >> README
|
||||
touch file-unique-to-the-pr-branch
|
||||
git add .
|
||||
git commit -m 'fork change'
|
||||
git push
|
||||
|
@ -32,6 +33,7 @@ function setup() {
|
|||
git checkout -b other
|
||||
git config user.email root@example.com
|
||||
git config user.name username
|
||||
touch file-unique-to-the-pr-branch
|
||||
echo other $PROOF >> README
|
||||
git add .
|
||||
git commit -m 'other change'
|
||||
|
|
Loading…
Add table
Reference in a new issue