Commit Graph

85 Commits

Author SHA1 Message Date
Florian Wagner 4ceed9135d Merge pull request #68 from actions/dependabot/go_modules/golang.org/x/net-0.7.0
goreleaser / goreleaser (push) Has been cancelled
Bump golang.org/x/net from 0.0.0-20220425223048-2871e0cb64e4 to 0.7.0
v202303192358
2023-03-17 15:54:21 +09:00
dependabot[bot] d7d3e9c0f9 Bump golang.org/x/net from 0.0.0-20220425223048-2871e0cb64e4 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220425223048-2871e0cb64e4 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 06:50:44 +00:00
Florian Wagner 6285f4ed62 Merge pull request #70 from actions/h2floh/update_go_version_and_linters
Update go version and linters
2023-03-17 15:49:47 +09:00
Florian Wagner 095836f013 update linters
licenced / Licences Check (push) Has been cancelled
Signed-off-by: Florian Wagner <h2floh@github.com>
2023-03-16 02:29:51 +00:00
Florian Wagner d40dda853c bump go to 1.17
Signed-off-by: Florian Wagner <h2floh@github.com>
2023-03-16 02:29:28 +00:00
Florian Wagner da4549ef0f Merge pull request #62 from actions/h2floh/add_sanity_testing_workflow
Add sanity test semi-automation workflow
2022-12-14 14:51:29 +09:00
Florian Wagner 552493bfa4 adhere to comments and add spelling fixes
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-28 05:01:50 +00:00
Florian Wagner 8decd6ca07 add sanity testing workflow and docs
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-22 08:18:05 +00:00
Florian Wagner b4b91e9993 Merge pull request #60 from actions/h2floh/ghae_internal_repo
goreleaser / goreleaser (push) Has been cancelled
Pass visibility flag on repository creation
v202211070205
2022-11-04 15:21:02 +09:00
Florian Wagner e30fad8050 adding missing error handling for GET repo
licenced / Licences Check (push) Has been cancelled
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-04 06:15:14 +00: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
Florian Wagner ef922b8e3b refactor repository retrieval/creation
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-04 04:43:03 +00:00
Florian Wagner 6d732db1cf add push flag to indicate target it GHAE
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-03 06:56:42 +00:00
Florian Wagner 86c578bdf2 set visibility to internal for GHAE
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-03 06:15:23 +00:00
Ajay 621a30f411 Merge pull request #52 from actions/ajaykn/fix-token-error
goreleaser / goreleaser (push) Has been cancelled
Fix the impersonation token error when site_admin scope is missing
v202209261606
2022-09-26 13:58:39 +09:00
Ajaykn-mac 0ae35c149f fix go lint
licenced / Licences Check (push) Has been cancelled
2022-09-26 13:28:19 +09:00
Ajaykn-mac 4f5ae77ae9 update readme with moving optional argument 2022-09-26 13:12:54 +09:00
Ajaykn-mac db79671e1d Fix impersonation token error in case of missing site_admin scope 2022-09-26 12:59:57 +09:00
Ajay 3a24d8ed61 Merge pull request #46 from derwasp/derwasp/add-actions-admin-user-switch
goreleaser / goreleaser (push) Has been cancelled
Add actions admin user impersonation via a --actions-admin-user flag
v202209260238
2022-09-21 21:59:10 +09:00
Denys Zhuravel 4b5fb2c8ad Add a note about the site_admin scope
* add a note to the readme
* add a note to the autogenerated cli help
2022-09-21 12:05:27 +00:00
Denys Zhuravel 37946dfc91 Require site_admin for the impersonation logic
Also, fixed casing in the text literals
2022-09-21 11:59:16 +00:00
Denys Zhuravel a7d588cf7c Don't enable the impersonation by default.
* Require the impersonation to be explicit with the --actions-admin-user flag
* Reword the log messages to look the same way the existing messages are
2022-09-20 09:48:29 +00:00
Denys Zhuravel c32265a4df Add actions-admin-user to readme 2022-09-09 09:35:07 +00:00
Denys Zhuravel 669526d239 Add the compiled binary to git ignore 2022-09-09 09:35:07 +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
Denys Zhuravel 7ef65dedf2 Add a --actions-admin-user flag
Same as in here
https://github.com/github/codeql-action-sync-tool/blob/33463970b845ac4bb9e4cae6adc2a8b7cd6f6142/internal/push/push.go#L106-L113

Add a warning about the missing site_admin scope in the token
Add a way to ignore the actions admin impersonation.
2022-09-09 09:35:01 +00:00
Ajay 51405dbbd5 Merge pull request #44 from niketbp/patch-1
Fix small typo in README.md
2022-08-08 00:17:59 +09:00
Niket Parikh e59ec6da57 Fix small typo in README.md 2022-07-27 14:41:47 -07:00
Ajay f123f251b9 Merge pull request #41 from martincostello/patch-1
Fix typos
2022-06-02 23:29:42 +09:00
Martin Costello 1854c6ae2d Fix typo
Fix another typo.

Co-authored-by: Ajay <40024974+ajaykn@users.noreply.github.com>
2022-06-01 07:04:43 +01:00
Martin Costello 400f484e15 Fix typos
Fix a number of minor typos.
2022-05-31 14:38:07 +01:00
Ajay ed8d809b61 Merge pull request #40 from actions/ajaykn/fix-go-release
goreleaser / goreleaser (push) Has been cancelled
Fix go release workflow by updating to latest version
v202205310731
2022-05-24 16:26:34 +09:00
Ajay f954333d85 Merge pull request #39 from actions/ajaykn/fix-codescan-xss
Fixing cross site scripting codescan alert
2022-05-24 15:02:12 +09:00
Ajaykn-mac 583a6f059c Fixing cross site scripting codescan alert
licenced / Licences Check (push) Has been cancelled
2022-05-24 09:08:30 +05:30
Ajaykn-mac 6441a9b8a4 Fix go release workflow by updating to latest version
licenced / Licences Check (push) Has been cancelled
2022-05-24 09:06:37 +05:30
Florian Wagner 9f9e05c05e Merge pull request #38 from actions/h2floh/remove_rcss_in_test_server
Escaping user/api input in test server
2022-04-28 22:20:08 -07:00
Florian Wagner c972445c27 escaping user input
Signed-off-by: GitHub <noreply@github.com>
2022-04-29 04:59:19 +00:00
Florian Wagner 9f2780c5e5 Merge pull request #37 from actions/h2floh/bump_versions
Bump dependencies
2022-04-27 19:32:12 -07:00
Florian Wagner d6e165b56d Merge pull request #36 from actions/h2floh/bump_versions-licenses
License updates for h2floh/bump_versions
2022-04-25 20:39:16 -07:00
licensed-ci 57a09b71d4 Auto-update license files 2022-04-26 03:38:28 +00:00
Florian Wagner bde5f88201 bump go modules
Signed-off-by: GitHub <noreply@github.com>
2022-04-26 03:37:19 +00:00
Florian Wagner 062fe61ca3 Merge pull request #35 from actions/h2floh/fix_ci
Bringing CI back on fix bootstrap and lint script
2022-04-25 00:27:24 -07:00
Florian Wagner a824e38f4f fix bootstrap and lint script
Signed-off-by: GitHub <noreply@github.com>
2022-04-25 04:27:33 +00:00
ajaykn e60fba28c0 Create codeql-analysis.yml 2022-04-12 02:59:15 +09:00
ajaykn 6eeb22a901 Merge pull request #31 from bvennam/patch-1
update code owners to actions-policy
2022-01-14 15:41:15 +09:00
Belinda Vennam 1cb196bfc3 update code owners to actions-policy 2022-01-11 10:16:06 -05:00
ajaykn 3bd8d62e5a Merge pull request #30 from actions/ajaykn/update-go-version
update go version to 1.16 to fix the CI build
2022-01-08 01:21:02 +09:00
Ajaykn-mac b77c0b6ce5 update go version to 1.16 to fix the CI build
licenced / Licences Check (push) Has been cancelled
2022-01-08 01:13:58 +09:00
ajaykn abfafb927f Merge pull request #17 from HollowMan6/patch-1
Fix typo
2021-02-16 01:57:06 +09:00