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
This commit is contained in:
Rochet2 2020-04-23 01:37:27 +03:00 committed by GitHub
parent 69d121fd03
commit 9cc5bcc1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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