Repository navigation
docs: 调整 Realtime Recipe 标题与适用范围表述 #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |