chore: update CLA Assistant action and token in workflow (#364)
Update CLA workflow to use new GitHub Action version and adjust token usage to user PAT
This commit is contained in:
parent
bad33f698e
commit
aab53d6e73
1 changed files with 5 additions and 3 deletions
8
.github/workflows/cla.yml
vendored
8
.github/workflows/cla.yml
vendored
|
|
@ -18,13 +18,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "CLA Assistant"
|
- name: "CLA Assistant"
|
||||||
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.5.1
|
uses: contributor-assistant/github-action@v2.6.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# the default github token does not have branch protection override permissions
|
||||||
|
# the repo secrets will need to be updated when the token expires.
|
||||||
|
GITHUB_TOKEN: ${{ secrets.DANIEL_PAT }}
|
||||||
with:
|
with:
|
||||||
path-to-signatures: "signatures/version1/cla.json"
|
path-to-signatures: "signatures/version1/cla.json"
|
||||||
path-to-document: "https://github.com/getzep/graphiti/blob/main/Zep-CLA.md" # e.g. a CLA or a DCO document
|
path-to-document: "https://github.com/getzep/graphiti/blob/main/Zep-CLA.md" # e.g. a CLA or a DCO document
|
||||||
# branch should not be protected
|
# branch should not be protected unless a personal PAT is used
|
||||||
branch: "main"
|
branch: "main"
|
||||||
allowlist: paul-paliychuk,prasmussen15,danielchalef,dependabot[bot],ellipsis-dev
|
allowlist: paul-paliychuk,prasmussen15,danielchalef,dependabot[bot],ellipsis-dev
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue