[PECO-1687] Fixed the issue of infinite blocking in case of invalid credentials #775
Workflow file for this run
This file contains 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 Check | |
on: [pull_request] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for DCO | |
id: dco-check | |
uses: tisonkun/[email protected] | |
- name: Comment about DCO status | |
uses: actions/github-script@v6 | |
if: ${{ failure() }} | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `Thanks for your contribution! To satisfy the DCO policy in our \ | |
[contributing guide](https://github.com/databricks/databricks-sql-python/blob/main/CONTRIBUTING.md) \ | |
every commit message must include a sign-off message. One or more of your commits is missing this message. \ | |
You can reword previous commit messages with an interactive rebase (\`git rebase -i main\`).` | |
}) |