From 5c74410418f6028bdca565e68ef9f1728cde8a30 Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Fri, 26 Sep 2025 00:58:17 +0530 Subject: [PATCH 1/5] Update cla.yml Signed-off-by: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> --- .github/workflows/cla.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 19a4e1f..1bab8b7 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -14,6 +14,8 @@ jobs: cla-assistant: runs-on: "ubuntu-latest" steps: + - uses: "actions/checkout@v4" + - 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'" uses: "cla-assistant/github-action@v2.1.3-beta" @@ -26,4 +28,15 @@ jobs: path-to-signatures: "etc/cla-signatures/signatures.json" path-to-document: "https://github.com/keploy/writers-program/tree/main/.github/CLA.md" branch: "cla-signatures" - allowlist: "keploy-bot,renovate" \ No newline at end of file + allowlist: "keploy-bot,renovate" + + - name: "Post Failure Instructions" + if: failure() && github.event_name == 'pull_request_target' + run: | + gh pr comment ${{ github.event.pull_request.number }} --body "**The CLA check failed.** Please ensure you have: + - Signed the CLA by commenting **'I have read the CLA Document and I hereby sign the CLA.'** + - Used the correct email address in your commits (matches the one you used to sign the CLA). + + After fixing these issues, comment **'recheck'** to trigger the workflow again." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c9654acd76d883857a70e53f495498066be85310 Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Fri, 26 Sep 2025 01:08:53 +0530 Subject: [PATCH 2/5] Version update Signed-off-by: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> --- .github/workflows/build_and_check.yml | 2 +- .github/workflows/deploy.yml | 7 ++++--- .github/workflows/greetings.yml | 2 +- .github/workflows/lint.yml | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_check.yml b/.github/workflows/build_and_check.yml index 97c5000..12cbf26 100644 --- a/.github/workflows/build_and_check.yml +++ b/.github/workflows/build_and_check.yml @@ -11,7 +11,7 @@ on: deploy-preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: rossjrw/pr-preview-action@v1 with: source-dir: . diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 01001d6..7c1cdca 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,8 @@ name: Deploy to AWS S3 on: push: - branches: [ main ] + branches: + - "main" jobs: build: @@ -15,9 +16,9 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploy - uses: reggionick/s3-deploy@v3 + uses: reggionick/s3-deploy@v4 with: folder: "." bucket: ${{ secrets.S3_BUCKET }} diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index f7288d7..72b2647 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,7 +9,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/first-interaction@v1 + - uses: actions/first-interaction@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Thank you and congratulations 🎉 for opening your very first issue in writers-program' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d41f066..571b4a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 From 1b1bf79fb2fd3c99109fb40ee08ce2ac61a3b19a Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:55:55 +0530 Subject: [PATCH 3/5] Update cla-assistant Signed-off-by: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> --- .github/workflows/cla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 1bab8b7..cae0393 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -18,7 +18,7 @@ jobs: - 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'" - uses: "cla-assistant/github-action@v2.1.3-beta" + uses: "cla-assistant/github-action@v2.4.0" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" PERSONAL_ACCESS_TOKEN: "${{ secrets.PRO_ACCESS_TOKEN }}" From 79596f8b0b3393381f44348e8a80c63dee64ca9f Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Mon, 6 Oct 2025 14:18:29 +0530 Subject: [PATCH 4/5] Revert "Version update" This reverts commit cd6fd99ede65a7b161be8215f503c4fb7a456cf6. Signed-off-by: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> --- .github/workflows/build_and_check.yml | 2 +- .github/workflows/deploy.yml | 7 +++---- .github/workflows/greetings.yml | 2 +- .github/workflows/lint.yml | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_check.yml b/.github/workflows/build_and_check.yml index 12cbf26..97c5000 100644 --- a/.github/workflows/build_and_check.yml +++ b/.github/workflows/build_and_check.yml @@ -11,7 +11,7 @@ on: deploy-preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: rossjrw/pr-preview-action@v1 with: source-dir: . diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c1cdca..01001d6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,8 +5,7 @@ name: Deploy to AWS S3 on: push: - branches: - - "main" + branches: [ main ] jobs: build: @@ -16,9 +15,9 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Deploy - uses: reggionick/s3-deploy@v4 + uses: reggionick/s3-deploy@v3 with: folder: "." bucket: ${{ secrets.S3_BUCKET }} diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 72b2647..f7288d7 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -9,7 +9,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/first-interaction@v3 + - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Thank you and congratulations 🎉 for opening your very first issue in writers-program' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 571b4a0..d41f066 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: fetch-depth: 0 From 31babc0ab0d700a1f2e3a0d2f6d3d5cac5b70a2e Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Mon, 6 Oct 2025 14:23:51 +0530 Subject: [PATCH 5/5] Suggested Changes Signed-off-by: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> --- .github/workflows/cla.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index cae0393..d02123a 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -40,3 +40,4 @@ jobs: After fixing these issues, comment **'recheck'** to trigger the workflow again." env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +