├── .eslintignore ├── .eslintrc.json ├── .github ├── project-card-assign.yml └── workflows │ ├── auto-card-assign.yml │ └── test.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── __tests__ ├── helper │ └── githubContextHelper.ts ├── main.test.ts └── mock │ └── actions-github.mock.ts ├── action.yml ├── dist └── index.js ├── jest.config.js ├── media ├── demo.gif ├── login-name.png ├── project-and-column-name.png └── work-demo.gif ├── package.json ├── src ├── assign.ts ├── constants.ts ├── fixtures │ ├── assignableCardInfo.json.ts │ ├── context.json.ts │ └── userInfo.json.ts ├── libs │ ├── getAssignableCard.ts │ ├── getAssignees.test.ts │ ├── getAssignees.ts │ ├── getColumn.ts │ ├── getConfig.ts │ ├── getProject.ts │ ├── getProjectCard.ts │ ├── index.ts │ └── thrownHandler.ts ├── main.ts ├── mutations │ ├── addAssigneesToAssignable.graphql.ts │ └── removeAssigneesFromAssignable.graphql.ts ├── queries │ ├── assignableCardInfo.graphql.ts │ └── userInfo.graphql.ts ├── types │ ├── assignableCardInfo.ts │ ├── config.ts │ ├── githubContext.ts │ ├── index.ts │ └── userInfo.ts ├── usecases │ ├── addAssigneesToAssignable.ts │ ├── index.ts │ └── removeAssigneesFromAssignable.ts └── utils │ ├── checkConfiguredColumn.test.ts │ ├── checkConfiguredColumn.ts │ ├── createSkipActionMessage.test.ts │ ├── createSkipActionMessage.ts │ ├── index.ts │ ├── isAssignableCard.test.ts │ ├── isAssignableCard.ts │ ├── isSkipAction.test.ts │ ├── isSkipAction.ts │ ├── isSupportActionEvent.test.ts │ ├── isSupportActionEvent.ts │ └── prettyStringify.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | lib/ 3 | node_modules/ -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/project-card-assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.github/project-card-assign.yml -------------------------------------------------------------------------------- /.github/workflows/auto-card-assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.github/workflows/auto-card-assign.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | lib/ 3 | node_modules/ -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/helper/githubContextHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/__tests__/helper/githubContextHelper.ts -------------------------------------------------------------------------------- /__tests__/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/__tests__/main.test.ts -------------------------------------------------------------------------------- /__tests__/mock/actions-github.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/__tests__/mock/actions-github.mock.ts -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/action.yml -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/dist/index.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/jest.config.js -------------------------------------------------------------------------------- /media/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/media/demo.gif -------------------------------------------------------------------------------- /media/login-name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/media/login-name.png -------------------------------------------------------------------------------- /media/project-and-column-name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/media/project-and-column-name.png -------------------------------------------------------------------------------- /media/work-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/media/work-demo.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/package.json -------------------------------------------------------------------------------- /src/assign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/assign.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/fixtures/assignableCardInfo.json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/fixtures/assignableCardInfo.json.ts -------------------------------------------------------------------------------- /src/fixtures/context.json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/fixtures/context.json.ts -------------------------------------------------------------------------------- /src/fixtures/userInfo.json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/fixtures/userInfo.json.ts -------------------------------------------------------------------------------- /src/libs/getAssignableCard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getAssignableCard.ts -------------------------------------------------------------------------------- /src/libs/getAssignees.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getAssignees.test.ts -------------------------------------------------------------------------------- /src/libs/getAssignees.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getAssignees.ts -------------------------------------------------------------------------------- /src/libs/getColumn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getColumn.ts -------------------------------------------------------------------------------- /src/libs/getConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getConfig.ts -------------------------------------------------------------------------------- /src/libs/getProject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getProject.ts -------------------------------------------------------------------------------- /src/libs/getProjectCard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/getProjectCard.ts -------------------------------------------------------------------------------- /src/libs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/index.ts -------------------------------------------------------------------------------- /src/libs/thrownHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/libs/thrownHandler.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/mutations/addAssigneesToAssignable.graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/mutations/addAssigneesToAssignable.graphql.ts -------------------------------------------------------------------------------- /src/mutations/removeAssigneesFromAssignable.graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/mutations/removeAssigneesFromAssignable.graphql.ts -------------------------------------------------------------------------------- /src/queries/assignableCardInfo.graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/queries/assignableCardInfo.graphql.ts -------------------------------------------------------------------------------- /src/queries/userInfo.graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/queries/userInfo.graphql.ts -------------------------------------------------------------------------------- /src/types/assignableCardInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/types/assignableCardInfo.ts -------------------------------------------------------------------------------- /src/types/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/types/config.ts -------------------------------------------------------------------------------- /src/types/githubContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/types/githubContext.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/userInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/types/userInfo.ts -------------------------------------------------------------------------------- /src/usecases/addAssigneesToAssignable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/usecases/addAssigneesToAssignable.ts -------------------------------------------------------------------------------- /src/usecases/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/usecases/index.ts -------------------------------------------------------------------------------- /src/usecases/removeAssigneesFromAssignable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/usecases/removeAssigneesFromAssignable.ts -------------------------------------------------------------------------------- /src/utils/checkConfiguredColumn.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/checkConfiguredColumn.test.ts -------------------------------------------------------------------------------- /src/utils/checkConfiguredColumn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/checkConfiguredColumn.ts -------------------------------------------------------------------------------- /src/utils/createSkipActionMessage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/createSkipActionMessage.test.ts -------------------------------------------------------------------------------- /src/utils/createSkipActionMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/createSkipActionMessage.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/isAssignableCard.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isAssignableCard.test.ts -------------------------------------------------------------------------------- /src/utils/isAssignableCard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isAssignableCard.ts -------------------------------------------------------------------------------- /src/utils/isSkipAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isSkipAction.test.ts -------------------------------------------------------------------------------- /src/utils/isSkipAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isSkipAction.ts -------------------------------------------------------------------------------- /src/utils/isSupportActionEvent.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isSupportActionEvent.test.ts -------------------------------------------------------------------------------- /src/utils/isSupportActionEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/isSupportActionEvent.ts -------------------------------------------------------------------------------- /src/utils/prettyStringify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/src/utils/prettyStringify.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1natsu172/github-action-auto-card-assign/HEAD/yarn.lock --------------------------------------------------------------------------------