{"id":49471605,"url":"https://github.com/techiro/release-test","last_synced_at":"2026-04-30T16:36:14.229Z","repository":{"id":275716139,"uuid":"924950159","full_name":"techiro/release-test","owner":"techiro","description":"test for release","archived":false,"fork":false,"pushed_at":"2026-03-27T00:54:18.000Z","size":178,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T16:36:06.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techiro.png","metadata":{"files":{"readme":"README.md","changelog":"changes.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-30T23:38:27.000Z","updated_at":"2026-03-27T00:38:12.000Z","dependencies_parsed_at":"2025-02-04T07:31:42.928Z","dependency_job_id":"8ad9b054-628c-412d-960b-3c766674ce66","html_url":"https://github.com/techiro/release-test","commit_stats":null,"previous_names":["techiro/release-test"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/techiro/release-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiro%2Frelease-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiro%2Frelease-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiro%2Frelease-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiro%2Frelease-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techiro","download_url":"https://codeload.github.com/techiro/release-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techiro%2Frelease-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-04-30T16:36:13.396Z","updated_at":"2026-04-30T16:36:14.221Z","avatar_url":"https://github.com/techiro.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Documentation\n\nLast updated: 2025-05-21\n\n## Features\n- Automated version management\n- CI/CD pipeline integration\n- Release note generation\n- GitHub Actions workflow examples\n- Repository integration via repository_dispatch\n\n## Inter-Repository Integration\n\n### Triggering workflow from release-test-server\n\nThis repository can be updated automatically when changes are made in the [release-test-server](https://github.com/techiro/release-test-server/) repository. The integration uses GitHub's `repository_dispatch` event and can be triggered using the following methods:\n\n#### Required GitHub App Configuration\n\nThe workflow now uses a GitHub App for cross-repository operations. This approach is more secure and maintainable than using personal access tokens:\n\n1. Create a GitHub App with appropriate permissions for both repositories\n2. Generate a private key for the app\n3. Configure the repository with:\n   - Repository secret: `RELEASE_INTEGRATION_APP_PRIVATE_KEY` - The app's private key\n   - Repository variable: `RELEASE_INTEGRATION_APP_ID` - The app's ID\n\nFor detailed setup instructions, see [GitHub App Setup Guide](docs/github-app-setup.md).\n\n#### Using GitHub CLI\n\n```bash\ngh api repos/techiro/release-test/dispatches \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  -f event_type=server-update \\\n  -f client_payload='{\n    \"ref\": \"main\",\n    \"repository\": \"techiro/release-test-server\",\n    \"sha\": \"commit-sha-here\",\n    \"message\": \"Update from server repository\"\n  }'\n```\n\n#### Using curl\n\n```bash\ncurl -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  -H \"Authorization: token GITHUB_TOKEN\" \\\n  https://api.github.com/repos/techiro/release-test/dispatches \\\n  -d '{\n    \"event_type\": \"server-update\",\n    \"client_payload\": {\n      \"ref\": \"main\",\n      \"repository\": \"techiro/release-test-server\",\n      \"sha\": \"commit-sha-here\",\n      \"message\": \"Update from server repository\"\n    }\n  }'\n```\n\n#### From GitHub Actions in release-test-server\n\n```yaml\nname: Trigger release-test update\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  trigger-update:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger repository_dispatch event\n        run: |\n          curl -X POST \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            -H \"Authorization: token ${{ secrets.REPO_ACCESS_TOKEN }}\" \\\n            https://api.github.com/repos/techiro/release-test/dispatches \\\n            -d '{\n              \"event_type\": \"server-update\",\n              \"client_payload\": {\n                \"ref\": \"${{ github.ref_name }}\",\n                \"repository\": \"${{ github.repository }}\",\n                \"sha\": \"${{ github.sha }}\",\n                \"message\": \"Update from ${{ github.repository }} (${{ github.sha }})\"\n              }\n            }'\n```\n\n## Debugging\n\n### actコマンドを使用したワークフローのローカル実行\n\n```bash\nbrew install act\n```\n\n#### 基本的な使い方\n1. Dockerデーモンを実行する：`open -a Docker`\n2. ワークフローのリストを表示する：`act -l`\n3. 特定のジョブを実行する：`act -j JOB_NAME`（例：`act push -j check-date`）\n4. 詳細なログを表示する：`act -v -j JOB_NAME`\n\n#### イベントタイプ別の実行方法\n\n以下のイベントタイプでワークフローを実行できます：\n\n1. プッシュイベント：`act push`\n2. プルリクエストイベント：`act pull_request`\n3. 手動トリガー（workflow_dispatch）：`act workflow_dispatch`\n4. スケジュールイベント：`act schedule`\n5. リポジトリディスパッチイベント：`act repository_dispatch -e repository_dispatch_event.json`\n\n#### event.jsonを使ったイベントデータの指定\n\nカスタムイベントデータを使用してワークフローを実行する場合は、`-e`または`--eventpath`オプションを使用します：\n\n1. 標準の`event.json`を使用する場合：`act workflow_dispatch -e event.json`\n2. カスタムイベントファイルを使用する場合：`act issue_comment -e issue_comment_event.json`\n3. リポジトリディスパッチイベントの場合：`act repository_dispatch -e repository_dispatch_event.json`\n4. 特定のジョブのみを実行する場合：`act workflow_dispatch -e event.json -j JOB_NAME` (例: `act issue_comment -e issue_comment_event.json -j deploy-command`)\n\n#### 秘密情報と環境変数の設定\n\nactでは`.actrc`ファイルと`.env`ファイルを使用して秘密情報や環境変数を設定できます：\n\n1. `.env`ファイルの設定方法：\n   ```bash\n   # トークンを直接設定\n   GITHUB_TOKEN=ghp_your_token_here\n   RELEASE_INTEGRATION_APP_ID=your_app_id_here\n\n   # 複数行の秘密鍵を設定\n   RELEASE_INTEGRATION_APP_PRIVATE_KEY=\"-----BEGIN RSA PRIVATE KEY-----\n   MII...\n   ...\n   -----END RSA PRIVATE KEY-----\"\n   ```\n\n2. 環境変数を使用してactを実行：\n   ```bash\n   # .envファイルからシークレット変数を読み込んで実行\n   act --secret-file .env workflow_dispatch\n   # .env.var ファイルから変数を読み込んで実行\n    act --secret-file .env --var-file .env.var workflow_dispatch -j generate-token -s GITHUB_TOKEN=\"$(gh auth token)\"\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechiro%2Frelease-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechiro%2Frelease-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechiro%2Frelease-test/lists"}