From 50bd5fb6c67a5ac3d2a82cd05042b130ebfb1bd3 Mon Sep 17 00:00:00 2001 From: Sourcegraph Date: Wed, 18 Jan 2023 19:17:22 +0000 Subject: [PATCH] update CLA signature bot workflow --- .github/workflows/clabot.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/clabot.yml b/.github/workflows/clabot.yml index b489142..1208d50 100644 --- a/.github/workflows/clabot.yml +++ b/.github/workflows/clabot.yml @@ -6,17 +6,10 @@ on: types: [opened,closed,synchronize] jobs: - clabot: - runs-on: ubuntu-latest - if: contains(github.event.comment.html_url, '/pull/') || github.event_name != 'issue_comment' - steps: - - name: "CLA Signature Bot" - uses: roblox/cla-signature-bot@v2.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - whitelist: "shishir-a412ed,Squidcod" - use-remote-repo: true - remote-repo-name: "roblox/cla-bot-store" - remote-repo-pat: ${{ secrets.CLA_REMOTE_REPO_PAT }} - url-to-cladocument: "https://roblox.github.io/cla-bot-store/" + call-clabot-workflow: + uses: Roblox/cla-signature-bot/.github/workflows/clabot-workflow.yml@master + with: + whitelist: "shishir-a412ed,Squidcod" + use-remote-repo: true + remote-repo-name: "roblox/cla-bot-store" + secrets: inherit