chore(ci): update runner types and trigger #188
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: | |
| workflow_dispatch: | |
| jobs: | |
| dco: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| steps: | |
| - run: echo "This DCO job runs on pull_request event and workflow_dispatch" | |
| - name: Get PR Commits | |
| id: 'get-pr-commits' | |
| uses: tim-actions/get-pr-commits@v1.2.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: DCO Check | |
| uses: tim-actions/dco@v1.1.0 | |
| with: | |
| commits: ${{ steps.get-pr-commits.outputs.commits }} |