diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-05-15 18:47:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-15 18:47:32 -0700 |
| commit | 68806113013a5debf382cc069adcf8ff786cefb2 (patch) | |
| tree | 3b5409e344849bcbf39c62b8bc8f31dda240d440 | |
| parent | Merge pull request #907 from mjlbach/installation_clarification (diff) | |
| parent | docgen: try to fix docgen authentication issues (diff) | |
| download | nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar.gz nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar.bz2 nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar.lz nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar.xz nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.tar.zst nvim-lspconfig-68806113013a5debf382cc069adcf8ff786cefb2.zip | |
Merge pull request #871 from mjlbach/fix_docgen_v4
docgen: try to fix docgen authentication issues
| -rw-r--r-- | .github/workflows/docgen.yml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/docgen.yml b/.github/workflows/docgen.yml index fc5340ce..1818503e 100644 --- a/.github/workflows/docgen.yml +++ b/.github/workflows/docgen.yml @@ -10,12 +10,9 @@ jobs: runs-on: [ubuntu-latest] steps: - uses: actions/checkout@v2 - with: - persist-credentials: false - fetch-depth: 0 - run: date +%F > todays-date - name: Restore cache for today's nightly. - uses: actions/cache@v1.0.0 + uses: actions/cache@v2 with: path: _neovim key: ${{ runner.os }}-nightly-${{ hashFiles('todays-date') }} @@ -26,14 +23,12 @@ jobs: scripts/docgen.sh - name: Commit changes env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMMIT_MSG: | [docgen] Update CONFIG.md skip-checks: true run: | - git config user.email "actions@github" - git config user.name "Github Actions" - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + git config user.name github-actions + git config user.email github-actions@github.com git add CONFIG.md # Only commit and push if we have changes - git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin HEAD:${GITHUB_REF}) + git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push) |
