Files
PaperClipAI/.github/workflows/commitperclip-review.yml
T
dependabot[bot] 83f10b968d build(deps): bump actions/dependency-review-action from 5.0.0 to 5.0.1 (#22594)
Bumps
[actions/dependency-review-action](https://github.com/actions/dependency-review-action)
from 5.0.0 to 5.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/dependency-review-action/releases">actions/dependency-review-action's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.1</h2>
<p>Minor update:</p>
<ul>
<li>Better error information from the compare endpoint (<a
href="https://github.com/ahpook"><code>@​ahpook</code></a>)</li>
<li>Many dependency updates</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/dependency-review-action/commit/bbc44d14a204704ccc493733616cd1e93a0321ec"><code>bbc44d1</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1188">#1188</a>
from actions/v501</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/295c48fd7d5199433e846423e06c02691a162f77"><code>295c48f</code></a>
Set up files for 5.0.1 release</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/977bcd13d3eb1fbb591c288db1115cffba6b06c9"><code>977bcd1</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1185">#1185</a>
from actions/dependabot/npm_and_yarn/fast-xml-parser...</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/61842ba809cdbb8c0307f3388a74db8ffff254d1"><code>61842ba</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1182">#1182</a>
from actions/ahpook/555-api-error-handling</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/4a8ea4ac762bd60977046709e47e32f7efe958f2"><code>4a8ea4a</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1186">#1186</a>
from actions/dependabot/npm_and_yarn/minor-updates-a...</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/c33d34643dda810d719146b811c53e546128b71c"><code>c33d346</code></a>
Bump the minor-updates group across 1 directory with 3 updates</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/bc6b60f898530d498df031176316afa44ddf0762"><code>bc6b60f</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1183">#1183</a>
from actions/dependabot/github_actions/github/codeql...</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/a0e662b13d69052d77249d8b201248fd4b90e054"><code>a0e662b</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1184">#1184</a>
from actions/dependabot/npm_and_yarn/minor-updates-1...</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/dea7fcdcea402571207cc0b9994b228434c76745"><code>dea7fcd</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/1151">#1151</a>
from actions/dependabot/npm_and_yarn/babel/core-7.29.7</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/f0c4183490714aa3aac7f3c90b8429dac8fa25f0"><code>f0c4183</code></a>
Bump fast-xml-parser from 5.10.1 to 5.12.0</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/dependency-review-action/compare/a1d282b36b6f3519aa1f3fc636f609c47dddb294...bbc44d14a204704ccc493733616cd1e93a0321ec">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/dependency-review-action&package-manager=github_actions&previous-version=5.0.0&new-version=5.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-05 00:45:34 +00:00

67 lines
2.9 KiB
YAML

name: commitperclip PR Review
on:
pull_request_target:
types: [opened, synchronize, reopened]
# Always runs from base branch context — never executes PR code.
# pull_request_target gives access to secrets for untrusted fork PRs.
permissions:
pull-requests: write
checks: write
contents: read
jobs:
review:
# Community PR CI shares the GitHub-hosted queue. A CODEOWNER's own PR is
# reviewed from the reserved AWS metadata fleet so it never waits there.
# Same admission as ci-routing.yml; every other PR stays GitHub-hosted.
runs-on: ${{ vars.AWS_CI_SHORT_JOBS_ENABLED == 'true' && vars.AWS_CI_ENABLED == 'true' && vars.AWS_CI_ROUTING_USER_IDS_SOURCE != '' && vars.AWS_CI_TRUSTED_USER_IDS == vars.AWS_CI_ROUTING_USER_IDS_SOURCE && github.repository == 'paperclipai/paperclip' && github.repository_id == '1170821064' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.id == 1170821064 && contains(vars.AWS_CI_ROUTING_USER_IDS, format('|{0}|', github.event.pull_request.user.id)) && contains(vars.AWS_CI_ROUTING_USER_IDS, format('|{0}|', github.event.sender.id)) && 'runs-on/fleet=paperclip-ci-routing-x64/env=public-ci' || 'ubuntu-latest' }}
timeout-minutes: 5
steps:
- name: Checkout base branch (never PR code)
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: master
- name: Dependency Review
uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
with:
base-ref: ${{ github.event.pull_request.base.sha }}
head-ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '24'
- name: Generate commitperclip token
id: token
run: |
TOKEN=$(node .github/scripts/get-bot-token.mjs)
echo "::add-mask::$TOKEN"
echo "value=$TOKEN" >> $GITHUB_OUTPUT
env:
COMMITPERCLIP_KEY: ${{ secrets.COMMITPERCLIP_KEY }}
- name: Run quality gates
id: quality
if: github.event.pull_request.user.login != 'dependabot[bot]'
run: node .github/scripts/run-quality-gates.mjs
continue-on-error: true
env:
GH_TOKEN: ${{ steps.token.outputs.value }}
GH_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
- name: Fail if quality gates failed
if: >-
github.event.pull_request.user.login != 'dependabot[bot]' &&
steps.quality.outcome == 'failure'
run: |
echo "One or more quality gates failed. See commitperclip comment on the PR for details."
exit 1