tisonkun / actions-dco Goto Github PK
View Code? Open in Web Editor NEWGitHub Actions that enforces the Developer Certificate of Origin (DCO) on Pull Requests
License: Apache License 2.0
GitHub Actions that enforces the Developer Certificate of Origin (DCO) on Pull Requests
License: Apache License 2.0
What we want is only the head sha and base sha, not the code.
Hi,
I've created a new repo, enabled this action on push and pushed just a single commit and got Error: Cannot read property 'base' of undefined
. Unfortunately I don't see a stack trace but I'm suspecting it's due to the single-commit new-repo status.
The action run is here: https://github.com/wiktor-k/testresult/actions/runs/3234781211/jobs/5298314999
Thanks for this great action! I'm using it in other repos with great success :)
See also this snippet:
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-nodejs/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\`).`
})
Perhaps we can introduce an optional config to create a comment on failure with the value.
Hello ๐
I started getting this warning for workflow that uses tisonkun/[email protected]
:
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: tisonkun/[email protected]. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
Looks that the action should be updated to use Node16 to get rid of this warning
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.