Skip to content

[AI Translation][zh-CN → en-US] Let an Agent Click Through Your Product From Start to Finish #17

[AI Translation][zh-CN → en-US] Let an Agent Click Through Your Product From Start to Finish

[AI Translation][zh-CN → en-US] Let an Agent Click Through Your Product From Start to Finish #17

Workflow file for this run

name: DCO
on:
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: dco-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
dco:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
steps:
- name: Check out trusted tooling
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ env.BASE_SHA }}
path: trusted
persist-credentials: false
- name: Check out pull request history
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ env.HEAD_SHA }}
path: submission
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 20
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: 20
- name: Check every commit sign-off
run: node trusted/scripts/check-dco.mjs --repo submission --base "$BASE_SHA" --head "$HEAD_SHA"