mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
fix: update GITHUB_TOKEN usage in CLA action and change branch to 'cla'
This commit is contained in:
4
.github/workflows/cla.yml
vendored
4
.github/workflows/cla.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
||||||
uses: contributor-assistant/github-action@v2.6.1
|
uses: contributor-assistant/github-action@v2.6.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# the below token should have repo scope and must be manually added by you in the repository's secret
|
# the below token should have repo scope and must be manually added by you in the repository's secret
|
||||||
# This token is required only if you have configured to store the signatures in a remote repository/organization
|
# This token is required only if you have configured to store the signatures in a remote repository/organization
|
||||||
PERSONAL_ACCESS_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
path-to-signatures: 'signatures/version1/cla.json'
|
path-to-signatures: 'signatures/version1/cla.json'
|
||||||
path-to-document: 'https://github.com/opendatalab/MinerU/blob/master/MinerU_CLA.md' # e.g. a CLA or a DCO document
|
path-to-document: 'https://github.com/opendatalab/MinerU/blob/master/MinerU_CLA.md' # e.g. a CLA or a DCO document
|
||||||
# branch should not be protected
|
# branch should not be protected
|
||||||
branch: 'master'
|
branch: 'cla'
|
||||||
allowlist: myhloli,dt-yy,Focusshang,renpengli01,icecraft,drunkpig,wangbinDL,qiangqiang199,GDDGCZ518,papayalove,conghui,quyuan,LollipopsAndWine,Sidney233
|
allowlist: myhloli,dt-yy,Focusshang,renpengli01,icecraft,drunkpig,wangbinDL,qiangqiang199,GDDGCZ518,papayalove,conghui,quyuan,LollipopsAndWine,Sidney233
|
||||||
|
|
||||||
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
|
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
|
||||||
|
|||||||
Reference in New Issue
Block a user