Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use actions/checkout for checkout #10630

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

fedordikarev
Copy link
Contributor

Problem

  1. First of all it's more correct
  2. Current usage allows Time-of-Check-Time-of-Use (TOCTOU) 'Pwn Request' vulnerabilities. Please check security slack channel or reach me for more details. I will update PR description after merge.

Summary of changes

  1. Use actions/checkout with ref: ${{ github.event.pull_request.head.sha }}

Discovered by and Co-author: @varunsh-coder

@fedordikarev fedordikarev requested review from areyou1or0 and a team February 3, 2025 07:39
@fedordikarev fedordikarev requested a review from a team as a code owner February 3, 2025 07:39
@fedordikarev fedordikarev self-assigned this Feb 3, 2025
Copy link
Contributor

@a-masterov a-masterov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

github-actions bot commented Feb 3, 2025

7414 tests run: 7063 passed, 0 failed, 351 skipped (full report)


Flaky tests (1)

Postgres 17

Code coverage* (full report)

  • functions: 33.2% (8518 of 25632 functions)
  • lines: 49.0% (71451 of 145930 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
70c7351 at 2025-02-03T08:39:39.642Z :recycle:

@fedordikarev fedordikarev added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit 23ca8b0 Feb 3, 2025
91 checks passed
@fedordikarev fedordikarev deleted the fix/security_sha_for_pull_requests branch February 3, 2025 12:56
winter-loo pushed a commit to winter-loo/neon that referenced this pull request Feb 4, 2025
## Problem
1. First of all it's more correct
2. Current usage allows ` Time-of-Check-Time-of-Use (TOCTOU) 'Pwn
Request' vulnerabilities`. Please check security slack channel or reach
me for more details. I will update PR description after merge.

## Summary of changes
1. Use `actions/checkout` with `ref: ${{
github.event.pull_request.head.sha }}`

Discovered by and Co-author: @varunsh-coder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants