ci: fix subtree commands - add remote, fetch, pull
@@ -8,11 +8,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Create PR
+ - name: Update opae-libs subtree
run: |
git config user.name "OPAE Bot"
git config user.email opae_robot@intel.com
- git subtree add --prefix opae-libs https://github.com/OPAE/opae-libs.git master --squash
+ git remote add opae-libs https://github.com/OPAE/opae-libs.git
+ git fetch --all
+ git subtree pull --prefix opae-libs opae-libs master --squash
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
@@ -27,5 +29,3 @@ jobs:
delete-branch: true
assignees: r-rojo
reviewers: r-rojo, asgardkm, tswhison
-
-
