Skip to content

Refactors the contributor thank you workflow for quick fixes#6897

Merged
Warashi merged 3 commits into
masterfrom
Ayushmore1214-patch-1
Jun 7, 2026
Merged

Refactors the contributor thank you workflow for quick fixes#6897
Warashi merged 3 commits into
masterfrom
Ayushmore1214-patch-1

Conversation

@Ayushmore1214

@Ayushmore1214 Ayushmore1214 commented Jun 5, 2026

Copy link
Copy Markdown
Member

What this PR does: added ref: ${{ github.event.pull_request.base.sha }} to ensures that the workflow securely checks out code only from our default branch

CX : updated mentioning contributor's GitHub username (@username) upon merge

Why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?: NO

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

… and improve contributor experience

added ref: ${{ github.event.pull_request.base.sha }} to ensures that the workflow securely checks out code only from our default branch

CX : updated mentioning contributor's GitHub username (@username) upon merge, making the acknowledgement feel personalized.

Signed-off-by: Ayush More <ayushmore42595@gmail.com>
@Ayushmore1214 Ayushmore1214 requested a review from a team as a code owner June 5, 2026 17:07
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.38%. Comparing base (85d8d24) to head (ca6724a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6897   +/-   ##
=======================================
  Coverage   29.38%   29.38%           
=======================================
  Files         601      601           
  Lines       64278    64278           
=======================================
  Hits        18886    18886           
  Misses      43924    43924           
  Partials     1468     1468           
Flag Coverage Δ
. 23.15% <ø> (ø)
.-pkg-app-pipedv1-plugin-analysis 32.43% <ø> (ø)
.-pkg-app-pipedv1-plugin-ecs 31.74% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes 58.37% <ø> (ø)
.-pkg-app-pipedv1-plugin-kubernetes_multicluster 59.66% <ø> (ø)
.-pkg-app-pipedv1-plugin-scriptrun 54.83% <ø> (ø)
.-pkg-app-pipedv1-plugin-terraform 38.18% <ø> (ø)
.-pkg-app-pipedv1-plugin-wait 33.04% <ø> (ø)
.-pkg-app-pipedv1-plugin-waitapproval 52.71% <ø> (ø)
.-pkg-plugin-sdk 50.34% <ø> (ø)
.-tool-actions-gh-release 19.23% <ø> (ø)
.-tool-actions-plan-preview 25.51% <ø> (ø)
.-tool-codegen-protoc-gen-auth 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Ayushmore1214

Copy link
Copy Markdown
Member Author

@Warashi

Comment thread .github/workflows/thank-you.yaml Outdated
Comment on lines +19 to +20
with:
ref: ${{ github.event.pull_request.base.sha }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this change.
pull_request_target event's default GITHUB_SHA is the default branch (master), and it's used as the actions/checkout's default. It's not recommended to check out other branches.
https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Warashi thanks for the review, have made the changes!

Signed-off-by: Ayush More <ayushmore42595@gmail.com>

@Warashi Warashi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@Warashi Warashi merged commit 6da2b02 into master Jun 7, 2026
63 checks passed
@Warashi Warashi deleted the Ayushmore1214-patch-1 branch June 7, 2026 07:43
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing to PipeCD, @Ayushmore1214! The changes in this pull request will be part of the upcoming release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants