An open API service indexing awesome lists of open source software.

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.

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 Request

Author
------

[linyows](https://github.com/linyows)