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:
parent
69d121fd03
commit
9cc5bcc1a4
1 changed files with 2 additions and 0 deletions
2
.github/workflows/import_pending_sql.yml
vendored
2
.github/workflows/import_pending_sql.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue