Commit Graph

10 Commits

Author SHA1 Message Date
Shawn Hartsell
35c0ff9f0e updating github.go ot use io pkg instead of ioutil pkg after Go 1.21 upgrade 2024-01-16 15:33:03 -06:00
Florian Wagner
d7e1ea845e exclude gocyclo lint in E2E mock API server
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-04 04:52:59 +00:00
Florian Wagner
51dff542d6 add e2e test for impersonations and visibility
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-04 04:44:35 +00:00
Denys Zhuravel
e4525fb4aa Add dummy routes to the test stub to mimic the github api 2022-09-09 09:35:07 +00:00
Ajaykn-mac
583a6f059c Fixing cross site scripting codescan alert 2022-05-24 09:08:30 +05:30
Florian Wagner
c972445c27 escaping user input
Signed-off-by: GitHub <noreply@github.com>
2022-04-29 04:59:19 +00:00
Florian Wagner
bde5f88201 bump go modules
Signed-off-by: GitHub <noreply@github.com>
2022-04-26 03:37:19 +00:00
Chris Sidi
d39e48f007 Create org if necessary 2020-09-22 13:57:42 -04:00
Chris Sidi
4e5bb47042 Better error message when org doesn't exist
* Produce a better error message when the destination org doesn't exist.
* Support pushing to the authenticated user's account

**Before**
`error creating github repository `synced-actions/setup-node`: error creating repository: POST http://my-ghes-hostname/api/v3/orgs/synced-actions/repos: 404 Not Found []`

**After**
`error creating github repository `synced-actions/setup-node`: Organization `synced-actions` doesn't exist at http://my-ghes-hostname. You must create it first.`

https://github.com/actions/actions-sync/issues/1
2020-09-21 22:08:06 -04:00
Anthony Sterling
f7954c5ebf Rename project to actions-sync 2020-07-02 19:36:10 +01:00