https://github.com/linyows/gmail-to-github-issues
:envelope: :octocat: This creates a github issue from an unread email with the specified label.
https://github.com/linyows/gmail-to-github-issues
Last synced: 20 days ago
JSON representation
:envelope: :octocat: This creates a github issue from an unread email with the specified label.
- Host: GitHub
- URL: https://github.com/linyows/gmail-to-github-issues
- Owner: linyows
- License: mit
- Created: 2020-08-14T09:38:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-15T08:51:11.000Z (over 1 year ago)
- Last Synced: 2025-04-15T00:06:05.832Z (20 days ago)
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
📧 👉 :octocat:
Gmail to GitHub Issues
This creates Github issues from an unread mail with the specified label on GAS.
![]()
![]()
![]()
Usage
-----1. Deploy this
```sh
$ npm i
$ npx clasp login
$ npx clasp create 'Gmail to GitHub Issues' --rootDir ./src
$ npx clasp push
```
1. Set script properties as ENV(File > Project properties > Script properties)
- GMAIL_LABELS
- GITHUB_ACCESS_TOKEN
- GITHUB_REPOSITORY
- GITHUB_ISSUE_LABEL(optional)
- GITHUB_API_ENDPOINT(optional)
1. Add project trigger(Edit > Current project's triggers > Add trigger)
- Choose which function to run: `notify`
- Which run at deployment: `head`
- Select event source: `Time-driven`
- Select type of time based trigger: `Minute timer`
- Select hour interval: `Every minute`Contribution
------------1. Fork (https://github.com/linyows/gmail-to-github-issues/fork)
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the main branch
1. Run test suite with the `npm ci` command and confirm that it passes
1. Create a new Pull RequestAuthor
------[linyows](https://github.com/linyows)