Browse Source

fix: unsafe repository issue in actions/checkout

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1731/head
Wing-Kam Wong 3 years ago
parent
commit
d02630949b
  1. 5
      .github/workflows/sync-to-develop.yml

5
.github/workflows/sync-to-develop.yml

@ -9,6 +9,11 @@ jobs:
sync-to-develop: sync-to-develop:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1

Loading…
Cancel
Save