diff --git a/.github/workflows/repo_search.yml b/.github/workflows/repo_search.yml index 14aa248..92d7e1b 100644 --- a/.github/workflows/repo_search.yml +++ b/.github/workflows/repo_search.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: setup python uses: actions/setup-python@v2 diff --git a/.github/workflows/repo_status.yml b/.github/workflows/repo_status.yml index 6f5456f..6416abf 100644 --- a/.github/workflows/repo_status.yml +++ b/.github/workflows/repo_status.yml @@ -16,6 +16,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: setup python uses: actions/setup-python@v2 diff --git a/.github/workflows/wiki_gen.yml b/.github/workflows/wiki_gen.yml index b3b40e9..741cf42 100644 --- a/.github/workflows/wiki_gen.yml +++ b/.github/workflows/wiki_gen.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: setup python uses: actions/setup-python@v2 @@ -42,11 +44,11 @@ jobs: env: GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }} - - name: Check out master first - uses: actions/checkout@master - with: - persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token - fetch-depth: 0 # otherwise, you will failed to push refs to dest repo +# - name: Check out master first +# uses: actions/checkout@master +# with: +# persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token +# fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - name: Commit & Push changes uses: actions-js/push@master