dalezak / github-commit-to-trello-card Goto Github PK
View Code? Open in Web Editor NEWGitHub Action to attach GitHub commits and pull requests as a comment in a Trello card
License: MIT License
GitHub Action to attach GitHub commits and pull requests as a comment in a Trello card
License: MIT License
I'm getting an error in the GitHub action runner.
cardsNumbers.forEach(async cardNumber => {
committer: { email: '[email protected]', name: 'GitHub', username: 'web-flow' },
^
TypeError: Cannot read properties of null (reading 'forEach')
at handleHeadCommit (/home/runner/work/_actions/dalezak/github-commit-to-trello-card/main/dist/index.js:9192:16)
at run (/home/runner/work/_actions/dalezak/github-commit-to-trello-card/main/dist/index.js:9240:5)
at /home/runner/work/_actions/dalezak/github-commit-to-trello-card/main/dist/index.js:9247:1
at /home/runner/work/_actions/dalezak/github-commit-to-trello-card/main/dist/index.js:9248:3
at Object. (/home/runner/work/_actions/dalezak/github-commit-to-trello-card/main/dist/index.js:9251:12)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
distinct: true,
id: '37aa1e65e5b3037719f7f2d4017b68296fd8d81f',
message: 'Update push.yml',
timestamp: '2023-06-03T18:02:59+01:00',
tree_id: '928e94026be7603cedab3b4448f775b6cb0def44',
url: 'https://github.com/nethomas1968/***/commit/37aa1e65e5b3037719f7f2d4017b68[29](https://github.com/nethomas1968/CICDHook/actions/runs/5164736424/jobs/9303829632#step:3:30)6fd8d81f'
}
getCardNumber(Update push.yml)
Trello ID match pattern #8
What does that all mean?
What I'm trying to do is create a new Trello Card when a push is done to my GitHub project. Or, possibly add a comment to an existing card.
I can't see how to specify the Trello list or the card. I can specify the Trello board name, but not the list.
How does trello know where to add the new card?
Any help appreciated.
Nick Thomas
Hi!
Thanks for your plugin :)
It seems that it handles only the head_commit
It will be great if it can handle the multiple commits pushed and not the last one/head
Use https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#commits ?
Thanks!
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.