fix: unsafe repository issue. ref: #1785

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
Wing-Kam Wong
2022-04-20 13:20:52 +08:00
parent 90519983a9
commit 3604074ae5

View File

@@ -9,16 +9,11 @@ jobs:
sync-to-develop:
runs-on: ubuntu-latest
steps:
# See https://github.com/actions/checkout/issues/766
- name: Workaround for unsafe repository issue
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Checkout
uses: actions/checkout@v1
- name: Merge from master to develop
uses: robotology/gh-action-nightly-merge@v1.3.1
uses: wingkwong/gh-action-nightly-merge@master
with:
stable_branch: 'master'
development_branch: 'develop'