lindell / multi-gitter

Update multiple repositories in with one command
Apache License 2.0
819 stars 64 forks source link

`--team-reviewers` flag doesn't work on its own #460

Closed timzchang closed 4 months ago

timzchang commented 4 months ago

Describe the bug using --team-reviewers without setting --reviewers causes no reviewers to be set at all

To Reproduce Steps to reproduce the behavior:

  1. Have an organization with a team e.g. "foo-team"
  2. Set following in config
    team-reviewers:
    - <team name>
  3. Run multi-gitter run
  4. Open resulting pull request
  5. See no reviewers are set.

Expected behavior Reviewers on prs should be foo-team

Additional context When you run with --reviewers flag set, both reviewers and team reviewers are set successfully.

Example run multi-gitter run ./replace_prefix.sh --config=./.multi-gitter/config.yaml --dry-run=true --log-level=trace config.yaml

branch: timzchang/fix_prefix

commit-message: "chore: replace 'prefix' with 'short_code'"

dry-run: true

interactive: false

pr-body: foo bar

repo-search: org:chanzuckerberg edu-stack in:name archived:false

team-reviewers:
 - edu-shared-infra

Output

TRAC[0000] http request                                  host=api.github.com request="GET /search/repositories?page=1&per_page=100&q=org%3Achanzuckerberg+edu-stack+in%3Aname+archived%3Afalse HTTP/1.1\r\nHost: api.github.com\r\nUser-Agent: go-github/v58.0.0\r\nAccept: application/vnd.github.mercy-preview+json\r\nX-Github-Api-Version: 2022-11-28\r\nAccept-Encoding: gzip\r\n\r\n" response="HTTP/2.0 200 OK\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset\r\nCache-Control: no-cache\r\nContent-Security-Policy: default-src 'none'\r\nContent-Type: application/json; charset=utf-8\r\nDate: Fri, 16 Feb 2024 21:24:50 GMT\r\nGithub-Authentication-Token-Expiration: 2024-04-07 07:00:00 UTC\r\nReferrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin\r\nServer: GitHub.com\r\nStrict-Transport-Security: max-age=31536000; includeSubdomains; preload\r\nVary: Accept, Authorization, Cookie, X-GitHub-OTP\r\nVary: Accept-Encoding, Accept, X-Requested-With\r\nX-Accepted-Oauth-Scopes: \r\nX-Content-Type-Options: nosniff\r\nX-Frame-Options: deny\r\nX-Github-Api-Version-Selected: 2022-11-28\r\nX-Github-Media-Type: github.mercy-preview; format=json\r\nX-Github-Request-Id: E01F:82CB:4EC6AD:50A0BF:65CFD2A2\r\nX-Oauth-Scopes: delete:packages, delete_repo, gist, notifications, repo, workflow, write:packages\r\nX-Ratelimit-Limit: 30\r\nX-Ratelimit-Remaining: 27\r\nX-Ratelimit-Reset: 1708118698\r\nX-Ratelimit-Resource: search\r\nX-Ratelimit-Used: 3\r\nX-Xss-Protection: 0\r\n\r\n{\"total_count\":3,\"incomplete_results\":false,\"items\":[{\"id\":568267690,\"node_id\":\"R_kgDOId8Tqg\",\"name\":\"edu-stack\",\"full_name\":\"chanzuckerberg/edu-stack\",\"private\":true,\"owner\":{\"login\":\"chanzuckerberg\",\"id\":19917299,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/19917299?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/chanzuckerberg\",\"html_url\":\"https://github.com/chanzuckerberg\",\"followers_url\":\"https://api.github.com/users/chanzuckerberg/followers\",\"following_url\":\"https://api.github.com/users/chanzuckerberg/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/chanzuckerberg/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/chanzuckerberg/subscriptions\",\"organizations_url\":\"https://api.github.com/users/chanzuckerberg/orgs\",\"repos_url\":\"https://api.github.com/users/chanzuckerberg/repos\",\"events_url\":\"https://api.github.com/users/chanzuckerberg/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/chanzuckerberg/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"html_url\":\"https://github.com/chanzuckerberg/edu-stack\",\"description\":\"The CZI Remix Stack with authentication, testing, linting, formatting, etc.\",\"fork\":false,\"url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack\",\"forks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/forks\",\"keys_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/keys{/key_id}\",\"collaborators_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/collaborators{/collaborator}\",\"teams_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/teams\",\"hooks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/hooks\",\"issue_events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/issues/events{/number}\",\"events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/events\",\"assignees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/assignees{/user}\",\"branches_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/branches{/branch}\",\"tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/tags\",\"blobs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/git/blobs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/git/tags{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/git/refs{/sha}\",\"trees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/git/trees{/sha}\",\"statuses_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/statuses/{sha}\",\"languages_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/languages\",\"stargazers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/stargazers\",\"contributors_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/contributors\",\"subscribers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/subscribers\",\"subscription_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/subscription\",\"commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/commits{/sha}\",\"git_commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/git/commits{/sha}\",\"comments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/comments{/number}\",\"issue_comment_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/issues/comments{/number}\",\"contents_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/contents/{+path}\",\"compare_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/compare/{base}...{head}\",\"merges_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/merges\",\"archive_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/{archive_format}{/ref}\",\"downloads_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/downloads\",\"issues_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/issues{/number}\",\"pulls_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/pulls{/number}\",\"milestones_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/notifications{?since,all,participating}\",\"labels_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/labels{/name}\",\"releases_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/releases{/id}\",\"deployments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack/deployments\",\"created_at\":\"2022-11-20T01:00:19Z\",\"updated_at\":\"2023-11-22T05:29:13Z\",\"pushed_at\":\"2024-02-16T20:08:02Z\",\"git_url\":\"git://github.com/chanzuckerberg/edu-stack.git\",\"ssh_url\":\"git@github.com:chanzuckerberg/edu-stack.git\",\"clone_url\":\"https://github.com/chanzuckerberg/edu-stack.git\",\"svn_url\":\"https://github.com/chanzuckerberg/edu-stack\",\"homepage\":\"https://czi.atlassian.net/wiki/x/EYCOnQ\",\"size\":7095,\"stargazers_count\":2,\"watchers_count\":2,\"language\":\"TypeScript\",\"has_issues\":true,\"has_projects\":false,\"has_downloads\":true,\"has_wiki\":false,\"has_pages\":false,\"has_discussions\":false,\"forks_count\":0,\"mirror_url\":null,\"archived\":false,\"disabled\":false,\"open_issues_count\":2,\"license\":null,\"allow_forking\":false,\"is_template\":false,\"web_commit_signoff_required\":false,\"topics\":[],\"visibility\":\"internal\",\"forks\":0,\"open_issues\":2,\"watchers\":2,\"default_branch\":\"main\",\"permissions\":{\"admin\":true,\"maintain\":true,\"push\":true,\"triage\":true,\"pull\":true},\"score\":1.0},{\"id\":648776390,\"node_id\":\"R_kgDOJquKxg\",\"name\":\"edu-stack-service\",\"full_name\":\"chanzuckerberg/edu-stack-service\",\"private\":true,\"owner\":{\"login\":\"chanzuckerberg\",\"id\":19917299,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/19917299?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/chanzuckerberg\",\"html_url\":\"https://github.com/chanzuckerberg\",\"followers_url\":\"https://api.github.com/users/chanzuckerberg/followers\",\"following_url\":\"https://api.github.com/users/chanzuckerberg/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/chanzuckerberg/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/chanzuckerberg/subscriptions\",\"organizations_url\":\"https://api.github.com/users/chanzuckerberg/orgs\",\"repos_url\":\"https://api.github.com/users/chanzuckerberg/repos\",\"events_url\":\"https://api.github.com/users/chanzuckerberg/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/chanzuckerberg/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"html_url\":\"https://github.com/chanzuckerberg/edu-stack-service\",\"description\":\"The CZI Remix Stack FOR SERVICES with authentication, testing, linting, formatting, etc.\",\"fork\":false,\"url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service\",\"forks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/forks\",\"keys_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/keys{/key_id}\",\"collaborators_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/collaborators{/collaborator}\",\"teams_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/teams\",\"hooks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/hooks\",\"issue_events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/issues/events{/number}\",\"events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/events\",\"assignees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/assignees{/user}\",\"branches_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/branches{/branch}\",\"tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/tags\",\"blobs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/git/blobs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/git/tags{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/git/refs{/sha}\",\"trees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/git/trees{/sha}\",\"statuses_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/statuses/{sha}\",\"languages_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/languages\",\"stargazers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/stargazers\",\"contributors_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/contributors\",\"subscribers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/subscribers\",\"subscription_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/subscription\",\"commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/commits{/sha}\",\"git_commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/git/commits{/sha}\",\"comments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/comments{/number}\",\"issue_comment_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/issues/comments{/number}\",\"contents_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/contents/{+path}\",\"compare_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/compare/{base}...{head}\",\"merges_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/merges\",\"archive_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/{archive_format}{/ref}\",\"downloads_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/downloads\",\"issues_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/issues{/number}\",\"pulls_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/pulls{/number}\",\"milestones_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/notifications{?since,all,participating}\",\"labels_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/labels{/name}\",\"releases_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/releases{/id}\",\"deployments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-stack-service/deployments\",\"created_at\":\"2023-06-02T19:35:12Z\",\"updated_at\":\"2023-07-07T00:22:54Z\",\"pushed_at\":\"2024-02-14T17:34:17Z\",\"git_url\":\"git://github.com/chanzuckerberg/edu-stack-service.git\",\"ssh_url\":\"git@github.com:chanzuckerberg/edu-stack-service.git\",\"clone_url\":\"https://github.com/chanzuckerberg/edu-stack-service.git\",\"svn_url\":\"https://github.com/chanzuckerberg/edu-stack-service\",\"homepage\":null,\"size\":5782,\"stargazers_count\":2,\"watchers_count\":2,\"language\":\"TypeScript\",\"has_issues\":true,\"has_projects\":false,\"has_downloads\":true,\"has_wiki\":false,\"has_pages\":false,\"has_discussions\":false,\"forks_count\":0,\"mirror_url\":null,\"archived\":false,\"disabled\":false,\"open_issues_count\":7,\"license\":null,\"allow_forking\":false,\"is_template\":false,\"web_commit_signoff_required\":false,\"topics\":[],\"visibility\":\"internal\",\"forks\":0,\"open_issues\":7,\"watchers\":2,\"default_branch\":\"main\",\"permissions\":{\"admin\":true,\"maintain\":true,\"push\":true,\"triage\":true,\"pull\":true},\"score\":1.0},{\"id\":596000353,\"node_id\":\"R_kgDOI4Y-YQ\",\"name\":\"edu-platform-stack-test\",\"full_name\":\"chanzuckerberg/edu-platform-stack-test\",\"private\":true,\"owner\":{\"login\":\"chanzuckerberg\",\"id\":19917299,\"node_id\":\"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/19917299?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/chanzuckerberg\",\"html_url\":\"https://github.com/chanzuckerberg\",\"followers_url\":\"https://api.github.com/users/chanzuckerberg/followers\",\"following_url\":\"https://api.github.com/users/chanzuckerberg/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/chanzuckerberg/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/chanzuckerberg/subscriptions\",\"organizations_url\":\"https://api.github.com/users/chanzuckerberg/orgs\",\"repos_url\":\"https://api.github.com/users/chanzuckerberg/repos\",\"events_url\":\"https://api.github.com/users/chanzuckerberg/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/chanzuckerberg/received_events\",\"type\":\"Organization\",\"site_admin\":false},\"html_url\":\"https://github.com/chanzuckerberg/edu-platform-stack-test\",\"description\":\"Internal clone of Edu Remix Stack for testing for FHL 2023\",\"fork\":false,\"url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test\",\"forks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/forks\",\"keys_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/keys{/key_id}\",\"collaborators_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/collaborators{/collaborator}\",\"teams_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/teams\",\"hooks_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/hooks\",\"issue_events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/issues/events{/number}\",\"events_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/events\",\"assignees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/assignees{/user}\",\"branches_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/branches{/branch}\",\"tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/tags\",\"blobs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/git/blobs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/git/tags{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/git/refs{/sha}\",\"trees_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/git/trees{/sha}\",\"statuses_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/statuses/{sha}\",\"languages_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/languages\",\"stargazers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/stargazers\",\"contributors_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/contributors\",\"subscribers_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/subscribers\",\"subscription_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/subscription\",\"commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/commits{/sha}\",\"git_commits_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/git/commits{/sha}\",\"comments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/comments{/number}\",\"issue_comment_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/issues/comments{/number}\",\"contents_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/contents/{+path}\",\"compare_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/compare/{base}...{head}\",\"merges_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/merges\",\"archive_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/{archive_format}{/ref}\",\"downloads_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/downloads\",\"issues_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/issues{/number}\",\"pulls_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/pulls{/number}\",\"milestones_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/notifications{?since,all,participating}\",\"labels_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/labels{/name}\",\"releases_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/releases{/id}\",\"deployments_url\":\"https://api.github.com/repos/chanzuckerberg/edu-platform-stack-test/deployments\",\"created_at\":\"2023-02-01T08:54:50Z\",\"updated_at\":\"2023-02-01T08:59:01Z\",\"pushed_at\":\"2023-07-20T05:52:32Z\",\"git_url\":\"git://github.com/chanzuckerberg/edu-platform-stack-test.git\",\"ssh_url\":\"git@github.com:chanzuckerberg/edu-platform-stack-test.git\",\"clone_url\":\"https://github.com/chanzuckerberg/edu-platform-stack-test.git\",\"svn_url\":\"https://github.com/chanzuckerberg/edu-platform-stack-test\",\"homepage\":null,\"size\":6795,\"stargazers_count\":0,\"watchers_count\":0,\"language\":\"TypeScript\",\"has_issues\":true,\"has_projects\":true,\"has_downloads\":true,\"has_wiki\":true,\"has_pages\":false,\"has_discussions\":false,\"forks_count\":0,\"mirror_url\":null,\"archived\":false,\"disabled\":false,\"open_issues_count\":7,\"license\":null,\"allow_forking\":false,\"is_template\":false,\"web_commit_signoff_required\":false,\"topics\":[],\"visibility\":\"internal\",\"forks\":0,\"open_issues\":7,\"watchers\":0,\"default_branch\":\"main\",\"permissions\":{\"admin\":false,\"maintain\":false,\"push\":true,\"triage\":true,\"pull\":true},\"score\":1.0}]}" took=506.707458ms
INFO[0000] Running on 3 repositories
INFO[0000] Cloning and running script                    repo=chanzuckerberg/edu-stack
DEBU[0001] diff --git a/.github/workflows/clean-happy-rdev.yml b/.github/workflows/clean-happy-rdev.yml
index 6dc9ee2f46feaae3a80cdb102f6cdbd45645ab3b..54b8e8670b027884375f73f42f1513f2aafe4500 100644
--- a/.github/workflows/clean-happy-rdev.yml
+++ b/.github/workflows/clean-happy-rdev.yml
@@ -17,5 +17,5 @@     steps:
       - name: Clean up stale happy stacks
         uses: chanzuckerberg/edu-github-actions/.github/actions/clean-happy-rdev@main
         with:
-          short_code: zzz
+          prefix: zzz
           tfe_token: ${{ secrets.TFE_TOKEN_EDU_PLATFORM }}
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 4aaa8797064687f2dd63c86fc800dc29f3d79f51..275ed8a0370e6b7ec3a1e9480e3e3fa999c2dbb6 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -23,7 +23,7 @@         with:
           docker_compose_config_path: "./docker-compose.happy.yml"
           github_repo_branch: "main"
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          short_code: zzz
+          prefix: zzz
           tfe_token: ${{ secrets.TFE_TOKEN_EDU_PLATFORM }}

   e2e-test-staging:
@@ -47,7 +47,7 @@     steps:
       - name: Push prod
         uses: chanzuckerberg/edu-github-actions/.github/actions/promote-prod@main
         with:
-          short_code: zzz
+          prefix: zzz
           tfe_token: ${{ secrets.TFE_TOKEN_EDU_PLATFORM }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           docker_compose_config_path: "./docker-compose.happy.yml"
diff --git a/.github/workflows/push-rdev.yml b/.github/workflows/push-rdev.yml
index 4a5c8e41fce052396a85061cf5f9ad8c66e0415d..68278a1c5883f0fad905dcb4ac8d7ef8f233d2cf 100644
--- a/.github/workflows/push-rdev.yml
+++ b/.github/workflows/push-rdev.yml
@@ -18,5 +18,5 @@       - uses: chanzuckerberg/edu-github-actions/.github/actions/push-rdev@main
         with:
           docker_compose_config_path: "./docker-compose.happy.yml"
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          short_code: zzz
+          prefix: zzz
           tfe_token: ${{ secrets.TFE_TOKEN_EDU_PLATFORM }}
INFO[0001] Skipping pushing changes because of dry run   repo=chanzuckerberg/edu-stack
INFO[0001] Cloning and running script                    repo=chanzuckerberg/edu-platform-stack-test
INFO[0001] no data was changed                           repo=chanzuckerberg/edu-platform-stack-test
TRAC[0001] github.com/lindell/multi-gitter/internal/multigitter.init
    /home/runner/work/multi-gitter/multi-gitter/internal/multigitter/run.go:80
runtime.doInit1
    /opt/hostedtoolcache/go/1.21.6/x64/src/runtime/proc.go:6740
runtime.doInit
    /opt/hostedtoolcache/go/1.21.6/x64/src/runtime/proc.go:6707
runtime.main
    /opt/hostedtoolcache/go/1.21.6/x64/src/runtime/proc.go:249
runtime.goexit
    /opt/hostedtoolcache/go/1.21.6/x64/src/runtime/asm_arm64.s:1197
INFO[0001] Cloning and running script                    repo=chanzuckerberg/edu-stack-service
DEBU[0002] diff --git a/.github/workflows/push-rdev.yml b/.github/workflows/push-rdev.yml
index 59a31f5d029fabb3c72cc16b121be73f32a7d611..979960c0b5f0a5876f64d34b7d433a13ab32531c 100644
--- a/.github/workflows/push-rdev.yml
+++ b/.github/workflows/push-rdev.yml
@@ -18,5 +18,5 @@       - uses: chanzuckerberg/edu-github-actions/.github/actions/push-rdev@main
         with:
           docker_compose_config_path: "./docker-compose.happy.yml"
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          short_code: ess
+          prefix: ess
           tfe_token: ${{ secrets.TFE_TOKEN }}
diff --git a/.github/workflows/push-staging.yml b/.github/workflows/push-staging.yml
index 5b970017a115402ea9d126177cfcbcc9f376c370..98559a8371e4f5ce82e0c82cb4810edd6c08da8c 100644
--- a/.github/workflows/push-staging.yml
+++ b/.github/workflows/push-staging.yml
@@ -23,7 +23,7 @@         with:
           docker_compose_config_path: "./docker-compose.happy.yml"
           github_repo_branch: "main"
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          short_code: ess
+          prefix: ess
           tfe_token: ${{ secrets.TFE_TOKEN_EDU_PLATFORM }}

   e2e-test-staging:
@@ -41,7 +41,7 @@           private_key: ${{ secrets.CZI_GITHUB_HELPER_PK }}
       - name: Run integration tests on staging
         uses: chanzuckerberg/edu-github-actions/.github/actions/test-staging@main
         with:
-          short_code: ess # short code of service to filter test scenarios
+          prefix: ess # short code of service to filter test scenarios
           repository: chanzuckerberg/edu-stack # target repo where e2e tests are defined
           github_token: ${{ steps.generate_token.outputs.token }} # token needed to check out target repo
           npm_token: ${{ secrets.GITHUB_TOKEN }}
INFO[0002] Skipping pushing changes because of dry run   repo=chanzuckerberg/edu-stack-service
lindell commented 4 months ago

Seems to have been caused by #368. Most likely fixed with #461, let me know otherwise.

github-actions[bot] commented 4 months ago

Included in release v0.50.1 🎉