{"id":19069130,"url":"https://github.com/cbos/imap-to-trello","last_synced_at":"2025-10-28T02:02:23.336Z","repository":{"id":146839963,"uuid":"356574913","full_name":"cbos/imap-to-trello","owner":"cbos","description":"Github action to read message from IMAP and create Trello cards","archived":false,"fork":false,"pushed_at":"2021-04-10T12:26:41.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T15:33:13.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T12:26:40.000Z","updated_at":"2021-04-10T12:26:44.000Z","dependencies_parsed_at":"2023-07-09T09:46:15.926Z","dependency_job_id":null,"html_url":"https://github.com/cbos/imap-to-trello","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"actions/javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbos%2Fimap-to-trello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbos%2Fimap-to-trello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbos%2Fimap-to-trello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbos%2Fimap-to-trello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbos","download_url":"https://codeload.github.com/cbos/imap-to-trello/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240122575,"owners_count":19751142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T01:13:25.167Z","updated_at":"2025-10-28T02:02:18.309Z","avatar_url":"https://github.com/cbos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create a JavaScript Action\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/actions/javascript-action/actions\"\u003e\u003cimg alt=\"javscript-action status\" src=\"https://github.com/actions/javascript-action/workflows/units-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nUse this template to bootstrap the creation of a JavaScript action.:rocket:\n\nThis template includes tests, linting, a validation workflow, publishing, and versioning guidance.\n\nIf you are new, there's also a simpler introduction.  See the [Hello World JavaScript Action](https://github.com/actions/hello-world-javascript-action)\n\n## Create an action from this template\n\nClick the `Use this Template` and provide the new repo details for your action\n\n## Code in Main\n\nInstall the dependencies\n\n```bash\nnpm install\n```\n\nRun the tests :heavy_check_mark:\n\n```bash\n$ npm test\n\n PASS  ./index.test.js\n  ✓ throws invalid number (3ms)\n  ✓ wait 500 ms (504ms)\n  ✓ test runs (95ms)\n...\n```\n\n## Change action.yml\n\nThe action.yml defines the inputs and output for your action.\n\nUpdate the action.yml with your name, description, inputs and outputs for your action.\n\nSee the [documentation](https://help.github.com/en/articles/metadata-syntax-for-github-actions)\n\n## Change the Code\n\nMost toolkit and CI/CD operations involve async operations so the action is run in an async function.\n\n```javascript\nconst core = require('@actions/core');\n...\n\nasync function run() {\n  try {\n      ...\n  }\n  catch (error) {\n    core.setFailed(error.message);\n  }\n}\n\nrun()\n```\n\nSee the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.\n\n## Package for distribution\n\nGitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.\n\nActions are run from GitHub repos.  Packaging the action will create a packaged action in the dist folder.\n\nRun prepare\n\n```bash\nnpm run prepare\n```\n\nSince the packaged index.js is run from the dist folder.\n\n```bash\ngit add dist\n```\n\n## Create a release branch\n\nUsers shouldn't consume the action from master since that would be latest code and actions can break compatibility between major versions.\n\nCheckin to the v1 release branch\n\n```bash\ngit checkout -b v1\ngit commit -a -m \"v1 release\"\n```\n\n```bash\ngit push origin v1\n```\n\nNote: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.\n\nYour action is now published! :rocket:\n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n\n## Usage\n\nYou can now consume the action by referencing the v1 branch\n\n```yaml\nuses: actions/javascript-action@v1\nwith:\n  milliseconds: 1000\n```\n\nSee the [actions tab](https://github.com/actions/javascript-action/actions) for runs of this action! :rocket:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbos%2Fimap-to-trello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbos%2Fimap-to-trello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbos%2Fimap-to-trello/lists"}