Commit Graph

23 Commits

Author SHA1 Message Date
Ian Sanders 74235d0976 Invert test that rejected non-github.com URLs 2023-03-31 19:43:22 +00:00
Saravanan Palanisamy 38a0adc233 fix dist check 2023-03-30 21:54:08 +04:00
Saravanan Palanisamy 90818bfeba fix test - throws an error when url isn't a valid project url 2023-03-30 21:36:17 +04:00
Matthew Costabile 5f0c606906 enable un unchecked indexed access 2023-02-27 13:15:25 +00:00
Tim Rogers ebd4dc568a Fix failing tests 2022-07-15 11:26:04 +01:00
Tim Rogers 9115f344bd Allow users to add an issue/PR to a board in a different organization
At present, this Action only supports adding an issue or pull
request to a project in the *same organization* as the issue or
pull request itself.

This removes that limitation. If the issue/pull request and
project have different owners, then instead of directly
creating a project item, we will instead create a "draft issue"
which will be added to the board.

Fixes #74.
2022-07-15 11:26:04 +01:00
Matthew Costabile 80b198ce77 fix tests to account for api change 2022-06-30 13:13:58 +00:00
Lukasz Warchol ed9ec99956 Merge branch 'main' into graphql/projectv2 2022-06-27 14:53:57 +00:00
Lukasz Warchol 2914167b9b Apply suggestions from code review
Co-authored-by: Matt B <9885259+Mattamorphic@users.noreply.github.com>
2022-06-27 15:01:14 +02:00
Adrian Kashivskyy a1e8057254 Run the build 2022-06-22 16:26:05 +02:00
Adrian Kashivskyy 94b35fc3df Add test 2022-06-22 15:33:54 +02:00
anthonylaye 0f1ba59d26 Add one more test 2022-06-16 18:11:37 +02:00
anthonylaye 965058f5bb Add test case 2022-06-16 17:50:53 +02:00
Lukasz Warchol 0c1e36ed75 Update Readme to point the users of the deprecated API to version 0.0.3
Remove feature flags header as it will not be needed after API is released.
2022-06-02 14:59:09 +00:00
Lukasz Warchol 8bc56cd807 Update Action to use new ProjectsV2 api
ProjectsNext API is going to be deprecated in favour of new ProjectsV2.
2022-05-20 12:22:44 +00:00
Shaun Kirk Wong f4bd1b98a2 github/memex#8949: Adds a testcase for spaces, PRs and mustGetOwnerTypeQuery() 2022-03-29 00:23:33 +00:00
Shaun Kirk Wong 959b0d462b github/memex#899: Adds test coverage around owner types 2022-03-25 21:32:04 +00:00
Shaun Kirk Wong a113ff8a4a Merge remote-tracking branch 'origin/main' into improve-test-coverage 2022-03-25 20:43:58 +00:00
Shaun Kirk Wong aa09aa5940 github/memex#8949: Adds additional tests for multiple labels and invalid urls 2022-03-25 00:07:54 +00:00
Abdelhamid dc9f7ee311 Add tests 2022-03-23 12:34:46 +02:00
Jonathan Clem b39b67e25e Add some simple unit tests 2022-02-01 22:08:12 +00:00
Jonathan Clem b4c121a252 Improve linting 2022-01-31 15:38:31 -05:00
Jonathan Clem 078fd9f744 Add initial action setup 2022-01-31 14:09:42 -05:00