├── .all-contributorsrc ├── .github ├── ISSUE_TEMPLATE │ ├── 01_help.md │ ├── 02_bug.md │ ├── 03_feature_request.md │ └── 04_thanks.md ├── dependabot.yml └── workflows │ ├── merge-schedule.yml │ ├── release.yml │ ├── test.yml │ ├── toot-together.yml │ └── update-prettier.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── action.yml ├── assets ├── demo.gif └── logo.png ├── dist └── index.js ├── docs ├── 01-create-mastodon-app.md ├── 02-create-toot-together-workflow.md ├── mastodon-01-create-an-app.png ├── mastodon-03-create-app.png ├── mastodon-04-keys-and-tokens.png ├── mastodon-05-repository-secrets.png ├── workflow-01-actions-tab.png ├── workflow-02-editor.png └── workflow-03-commit.png ├── lib ├── common │ └── parse-toot-file-content.js ├── index.js ├── pull-request │ ├── create-check-run.js │ ├── get-new-toots.js │ └── index.js └── push │ ├── add-comment.js │ ├── get-new-toots.js │ ├── index.js │ ├── is-setup-done.js │ ├── setup.js │ └── toots.js ├── package.json ├── test ├── pull-request-from-fork-has-tweet │ ├── event.json │ └── test.js ├── pull-request-from-fork-invalid-tweet │ ├── event.json │ └── test.js ├── pull-request-has-tweet-with-poll-with-5-options │ ├── event.json │ └── test.js ├── pull-request-has-tweet-with-poll │ ├── event.json │ └── test.js ├── pull-request-has-tweet │ ├── event.json │ └── test.js ├── pull-request-invalid-tweet │ ├── event.json │ └── test.js ├── pull-request-no-tweets │ ├── event.json │ └── test.js ├── pull-request-request-error │ ├── event.json │ └── test.js ├── pull-request-wrong-base │ ├── event.json │ └── test.js ├── push-master-has-tweet-with-poll │ ├── event.json │ ├── test.js │ └── toots │ │ └── my-poll.toot ├── push-master-has-tweet │ ├── event.json │ ├── test.js │ └── toots │ │ └── hello-world.toot ├── push-master-no-tweets │ ├── event.json │ ├── test.js │ └── toots │ │ └── hello-world.toot ├── push-master-request-error │ ├── event.json │ ├── test.js │ └── toots │ │ └── hello-world.toot ├── push-master-setup-pending │ ├── event.json │ └── test.js ├── push-master-setup │ ├── event.json │ └── test.js ├── push-master-tweet-error │ ├── event.json │ ├── test.js │ └── toots │ │ └── cupcake-ipsum.toot ├── push-not-a-branch │ ├── event.json │ └── test.js └── push-not-default-branch │ ├── event.json │ └── test.js └── toots ├── 2022-11-09-development-poll.toot ├── README.md ├── first-poll.toot ├── first.toot ├── goodmorning.toot ├── release-v1.0.0.toot └── testing.toot /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/01_help.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "🆘 Help" 3 | about: "How does this even work 🤷‍♂️" 4 | labels: support 5 | --- -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/02_bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/ISSUE_TEMPLATE/02_bug.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/03_feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/ISSUE_TEMPLATE/03_feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/04_thanks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/ISSUE_TEMPLATE/04_thanks.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/merge-schedule.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/workflows/merge-schedule.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/toot-together.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/workflows/toot-together.yml -------------------------------------------------------------------------------- /.github/workflows/update-prettier.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/.github/workflows/update-prettier.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | .nyc_output 3 | coverage/ 4 | dist/ 5 | node_modules/ 6 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/README.md -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/action.yml -------------------------------------------------------------------------------- /assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/assets/demo.gif -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/assets/logo.png -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/dist/index.js -------------------------------------------------------------------------------- /docs/01-create-mastodon-app.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/01-create-mastodon-app.md -------------------------------------------------------------------------------- /docs/02-create-toot-together-workflow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/02-create-toot-together-workflow.md -------------------------------------------------------------------------------- /docs/mastodon-01-create-an-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/mastodon-01-create-an-app.png -------------------------------------------------------------------------------- /docs/mastodon-03-create-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/mastodon-03-create-app.png -------------------------------------------------------------------------------- /docs/mastodon-04-keys-and-tokens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/mastodon-04-keys-and-tokens.png -------------------------------------------------------------------------------- /docs/mastodon-05-repository-secrets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/mastodon-05-repository-secrets.png -------------------------------------------------------------------------------- /docs/workflow-01-actions-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/workflow-01-actions-tab.png -------------------------------------------------------------------------------- /docs/workflow-02-editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/workflow-02-editor.png -------------------------------------------------------------------------------- /docs/workflow-03-commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/docs/workflow-03-commit.png -------------------------------------------------------------------------------- /lib/common/parse-toot-file-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/common/parse-toot-file-content.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/pull-request/create-check-run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/pull-request/create-check-run.js -------------------------------------------------------------------------------- /lib/pull-request/get-new-toots.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/pull-request/get-new-toots.js -------------------------------------------------------------------------------- /lib/pull-request/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/pull-request/index.js -------------------------------------------------------------------------------- /lib/push/add-comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/add-comment.js -------------------------------------------------------------------------------- /lib/push/get-new-toots.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/get-new-toots.js -------------------------------------------------------------------------------- /lib/push/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/index.js -------------------------------------------------------------------------------- /lib/push/is-setup-done.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/is-setup-done.js -------------------------------------------------------------------------------- /lib/push/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/setup.js -------------------------------------------------------------------------------- /lib/push/toots.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/lib/push/toots.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/package.json -------------------------------------------------------------------------------- /test/pull-request-from-fork-has-tweet/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-from-fork-has-tweet/event.json -------------------------------------------------------------------------------- /test/pull-request-from-fork-has-tweet/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-from-fork-has-tweet/test.js -------------------------------------------------------------------------------- /test/pull-request-from-fork-invalid-tweet/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-from-fork-invalid-tweet/event.json -------------------------------------------------------------------------------- /test/pull-request-from-fork-invalid-tweet/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-from-fork-invalid-tweet/test.js -------------------------------------------------------------------------------- /test/pull-request-has-tweet-with-poll-with-5-options/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet-with-poll-with-5-options/event.json -------------------------------------------------------------------------------- /test/pull-request-has-tweet-with-poll-with-5-options/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet-with-poll-with-5-options/test.js -------------------------------------------------------------------------------- /test/pull-request-has-tweet-with-poll/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet-with-poll/event.json -------------------------------------------------------------------------------- /test/pull-request-has-tweet-with-poll/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet-with-poll/test.js -------------------------------------------------------------------------------- /test/pull-request-has-tweet/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet/event.json -------------------------------------------------------------------------------- /test/pull-request-has-tweet/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-has-tweet/test.js -------------------------------------------------------------------------------- /test/pull-request-invalid-tweet/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-invalid-tweet/event.json -------------------------------------------------------------------------------- /test/pull-request-invalid-tweet/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-invalid-tweet/test.js -------------------------------------------------------------------------------- /test/pull-request-no-tweets/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-no-tweets/event.json -------------------------------------------------------------------------------- /test/pull-request-no-tweets/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-no-tweets/test.js -------------------------------------------------------------------------------- /test/pull-request-request-error/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-request-error/event.json -------------------------------------------------------------------------------- /test/pull-request-request-error/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-request-error/test.js -------------------------------------------------------------------------------- /test/pull-request-wrong-base/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-wrong-base/event.json -------------------------------------------------------------------------------- /test/pull-request-wrong-base/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/pull-request-wrong-base/test.js -------------------------------------------------------------------------------- /test/push-master-has-tweet-with-poll/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-has-tweet-with-poll/event.json -------------------------------------------------------------------------------- /test/push-master-has-tweet-with-poll/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-has-tweet-with-poll/test.js -------------------------------------------------------------------------------- /test/push-master-has-tweet-with-poll/toots/my-poll.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-has-tweet-with-poll/toots/my-poll.toot -------------------------------------------------------------------------------- /test/push-master-has-tweet/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-has-tweet/event.json -------------------------------------------------------------------------------- /test/push-master-has-tweet/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-has-tweet/test.js -------------------------------------------------------------------------------- /test/push-master-has-tweet/toots/hello-world.toot: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /test/push-master-no-tweets/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-no-tweets/event.json -------------------------------------------------------------------------------- /test/push-master-no-tweets/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-no-tweets/test.js -------------------------------------------------------------------------------- /test/push-master-no-tweets/toots/hello-world.toot: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /test/push-master-request-error/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-request-error/event.json -------------------------------------------------------------------------------- /test/push-master-request-error/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-request-error/test.js -------------------------------------------------------------------------------- /test/push-master-request-error/toots/hello-world.toot: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /test/push-master-setup-pending/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-setup-pending/event.json -------------------------------------------------------------------------------- /test/push-master-setup-pending/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-setup-pending/test.js -------------------------------------------------------------------------------- /test/push-master-setup/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-setup/event.json -------------------------------------------------------------------------------- /test/push-master-setup/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-setup/test.js -------------------------------------------------------------------------------- /test/push-master-tweet-error/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-tweet-error/event.json -------------------------------------------------------------------------------- /test/push-master-tweet-error/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-tweet-error/test.js -------------------------------------------------------------------------------- /test/push-master-tweet-error/toots/cupcake-ipsum.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-master-tweet-error/toots/cupcake-ipsum.toot -------------------------------------------------------------------------------- /test/push-not-a-branch/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-not-a-branch/event.json -------------------------------------------------------------------------------- /test/push-not-a-branch/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-not-a-branch/test.js -------------------------------------------------------------------------------- /test/push-not-default-branch/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-not-default-branch/event.json -------------------------------------------------------------------------------- /test/push-not-default-branch/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/test/push-not-default-branch/test.js -------------------------------------------------------------------------------- /toots/2022-11-09-development-poll.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/toots/2022-11-09-development-poll.toot -------------------------------------------------------------------------------- /toots/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/toots/README.md -------------------------------------------------------------------------------- /toots/first-poll.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/toots/first-poll.toot -------------------------------------------------------------------------------- /toots/first.toot: -------------------------------------------------------------------------------- 1 | My first toot! 2 | -------------------------------------------------------------------------------- /toots/goodmorning.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/toots/goodmorning.toot -------------------------------------------------------------------------------- /toots/release-v1.0.0.toot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joschi/toot-together/HEAD/toots/release-v1.0.0.toot -------------------------------------------------------------------------------- /toots/testing.toot: -------------------------------------------------------------------------------- 1 | Testing this from @archie@data-folks.masto.host 2 | --------------------------------------------------------------------------------