{"id":28471238,"url":"https://github.com/requestnetwork/auto-comments-test","last_synced_at":"2026-01-20T16:41:42.510Z","repository":{"id":283735255,"uuid":"952512313","full_name":"RequestNetwork/auto-comments-test","owner":"RequestNetwork","description":"A repository for testing the pr-auto-comments reusable Github Actions workflow.","archived":false,"fork":false,"pushed_at":"2025-03-22T17:49:30.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-07T10:48:45.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RequestNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-21T12:01:10.000Z","updated_at":"2025-03-22T17:49:32.000Z","dependencies_parsed_at":"2025-03-21T21:38:10.046Z","dependency_job_id":null,"html_url":"https://github.com/RequestNetwork/auto-comments-test","commit_stats":null,"previous_names":["requestnetwork/auto-comments-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RequestNetwork/auto-comments-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Fauto-comments-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Fauto-comments-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Fauto-comments-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Fauto-comments-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RequestNetwork","download_url":"https://codeload.github.com/RequestNetwork/auto-comments-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RequestNetwork%2Fauto-comments-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263039373,"owners_count":23404167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-07T10:39:55.344Z","updated_at":"2026-01-20T16:41:42.467Z","avatar_url":"https://github.com/RequestNetwork.png","language":null,"readme":"# PR Auto-Comments Integration Tests\n\nThis repository is an integration testing environment for the [auto-comments](https://github.com/RequestNetwork/auto-comments) reusable GitHub Actions workflow.\n\n## Purpose\n\nThe `auto-comments` repository contains a reusable workflow that automatically posts comments on Pull Requests from external contributors. This test repository helps verify that the workflow functions correctly in real-world scenarios before changes are merged into the main workflow.\n\n## Proper Testing Methodology\n\nThe core functionality of the auto-comments workflow can only be properly tested with real user accounts, as it relies on checking organization membership status. For comprehensive testing, you should:\n\n### Create a Testing Matrix\n\n| Test Case | User Type | PR Action | Expected Result |\n|-----------|-----------|-----------|-----------------|\n| 1 | Internal (org member) | Open PR | No comments |\n| 2 | External (non-member) | Open first PR | First PR comment appears |\n| 3 | External (non-member) | Open second PR | No first PR comment |\n| 4 | External (non-member) | Mark PR ready for review | Ready for review comment appears |\n| 5 | External (non-member) | Merge PR | Merged PR comment appears |\n\n### Test with a Real External Account\n\n1. Create or use a GitHub account that is **not** a member of the RequestNetwork organization\n2. Have this account create a PR to the auto-comments-test repository\n3. Check that the first PR comment appears\n4. Have the same account create a second PR\n5. Verify that the first PR comment doesn't appear this time\n6. Mark the PR as ready for review (after creating it as a draft)\n7. Verify the ready for review comment appears\n8. Merge the PR\n9. Verify the merged PR comment appears\n\n### Verify Variable Substitution\n\nIn all comments, verify that:\n- `{{username}}` correctly shows the PR author's username\n- `{{repository}}` correctly shows \"auto-comments-test\"\n- `{{org}}` correctly shows \"RequestNetwork\"\n\n## How This Repository Works\n\nThis repository includes a simplified integration-test.yml workflow that:\n\n1. Is triggered by actual pull request events (opened, ready for review, closed)\n2. Calls the reusable workflow from the auto-comments repository\n3. Provides test-specific comment messages clearly marked with \"[TEST]\"\n\nBy using real pull requests, we can accurately test the workflow's core functionality:\n- Organization membership detection\n- First PR detection\n- Event-specific comments\n- Variable substitution\n\n## Best Practices for Testing Changes\n\n1. **Local Validation**: First validate workflow syntax locally\n2. **Real User Testing**: Have a non-org member create a PR to verify the full functionality\n3. **Review Results**: Check that comments appear correctly and variables are substituted properly\n\nRemember: The most crucial aspects (first-PR detection, org membership detection) can only be properly verified with actual GitHub accounts that are not members of your organization.\n\n## Creating a Test Account\n\nFor thorough testing, consider:\n1. Creating a dedicated testing GitHub account\n2. Keeping it outside your organization\n3. Using it exclusively for testing external contributor experiences\n4. Documenting test results with screenshots\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestnetwork%2Fauto-comments-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frequestnetwork%2Fauto-comments-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestnetwork%2Fauto-comments-test/lists"}