Skip to content

Commit c3a8b67

Browse files
authored
Update cla.yml
1 parent 209ade5 commit c3a8b67

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/cla.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
cla-assistant:
1515
runs-on: "ubuntu-latest"
1616
steps:
17+
- uses: "actions/checkout@v4"
18+
1719
- name: "CLA Assistant"
1820
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'"
1921
uses: "cla-assistant/github-action@v2.1.3-beta"
@@ -26,4 +28,15 @@ jobs:
2628
path-to-signatures: "etc/cla-signatures/signatures.json"
2729
path-to-document: "https://github.com/keploy/writers-program/tree/main/.github/CLA.md"
2830
branch: "cla-signatures"
29-
allowlist: "keploy-bot,renovate"
31+
allowlist: "keploy-bot,renovate"
32+
33+
- name: "Post Failure Instructions"
34+
if: failure() && github.event_name == 'pull_request_target'
35+
run: |
36+
gh pr comment ${{ github.event.pull_request.number }} --body "**The CLA check failed.** Please ensure you have:
37+
- Signed the CLA by commenting **'I have read the CLA Document and I hereby sign the CLA.'**
38+
- Used the correct email address in your commits (matches the one you used to sign the CLA).
39+
40+
After fixing these issues, comment **'recheck'** to trigger the workflow again."
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)