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

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