-
-
Notifications
You must be signed in to change notification settings - Fork 120
build(deps): bump the github group across 1 directory with 3 updates #1313
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,12 +42,12 @@ jobs: | |
| steps: | ||
| - name: Checkout code from PR | ||
| if: github.event.pull_request.merged == false | ||
| uses: actions/checkout@v6.0.2 | ||
| uses: actions/checkout@v7.0.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| - name: Checkout code from target branch | ||
| if: github.event.pull_request.merged == true | ||
| uses: actions/checkout@v6.0.2 | ||
| uses: actions/checkout@v7.0.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.base.ref }} | ||
| - name: Set PERCY_BRANCH to target branch | ||
|
|
@@ -56,11 +56,11 @@ jobs: | |
| # to be associated with the target branch | ||
| run: echo "PERCY_BRANCH=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV | ||
| - name: Use Node.js | ||
| uses: actions/setup-node@v6.4.0 | ||
| uses: actions/setup-node@v7.0.0 | ||
| with: | ||
| node-version: '20.x' | ||
| - name: Cache Node.js modules | ||
| uses: actions/cache@v5 | ||
| uses: actions/cache@v6 | ||
| with: | ||
| path: '**/node_modules' | ||
| key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} | ||
|
|
@@ -91,7 +91,7 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code from PR | ||
| uses: actions/checkout@v6.0.2 | ||
| uses: actions/checkout@v7.0.1 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blocking: Same v7 guard failure, and this one is the riskier of the two — no environment gate, and it runs This job only needs - name: Checkout base repo for helper scripts
uses: actions/checkout@v7.0.1This is the pattern |
||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| - name: Define comment body | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blocking: checkout v7 refuses this checkout. Event is
pull_request_target(line 4),refis the fork PR head SHA (line 47), and contributors work from forks — all three guard conditions insrc/unsafe-pr-checkout-helper.tshold, so the step throws and Percy never runs.The existing mitigation for the pwn-request risk here is
environment: percy_tests(lines 32–39) gatingPERCY_TOKEN. If that's considered sufficient, opt back in explicitly:See gh.io/securely-using-pull_request_target — the flag is a deliberate acknowledgement, so confirm the
percy_testsenvironment has required reviewers configured first.(The "Checkout code from target branch" step below is fine —
base.refis a branch name, so the guard returns early.)