diff options
author | Rochet2 <tqbattlenet@gmail.com> | 2020-04-23 01:37:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 00:37:27 +0200 |
commit | 9cc5bcc1a447113ed77ab983e9596d89be3fbedd (patch) | |
tree | f7ce0e71d68209d1f9078bf1ef007eee363b8443 | |
parent | 69d121fd0391a0bc3fe26edab483398a138c9e6b (diff) |
fix(CI): sql import
SQL import failed to push due to github branch protection.
Seems this will allow the actual supplied token to be used which has push access.
The solution was found from https://github.community/t5/GitHub-Actions/Push-to-restricted-master-branch/m-p/54948
-rw-r--r-- | .github/workflows/import_pending_sql.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/import_pending_sql.yml b/.github/workflows/import_pending_sql.yml index 0f10addc3d..dd53bac052 100644 --- a/.github/workflows/import_pending_sql.yml +++ b/.github/workflows/import_pending_sql.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 + with: + persist-credentials: false - name: Extract branch name run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch |