{"id":31035568,"url":"https://github.com/appsflyersdk/github-common-workflow-and-template","last_synced_at":"2025-09-14T03:43:13.387Z","repository":{"id":306226242,"uuid":"1020872854","full_name":"AppsFlyerSDK/github-common-workflow-and-template","owner":"AppsFlyerSDK","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-01T09:25:23.000Z","size":33,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-01T10:56:05.380Z","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/AppsFlyerSDK.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2025-07-16T14:20:13.000Z","updated_at":"2025-09-01T09:25:27.000Z","dependencies_parsed_at":"2025-07-24T13:17:37.236Z","dependency_job_id":"a63d6cd4-d18b-4fa4-8a3f-257785875528","html_url":"https://github.com/AppsFlyerSDK/github-common-workflow-and-template","commit_stats":null,"previous_names":["appsflyersdk/github-common-workflow-and-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AppsFlyerSDK/github-common-workflow-and-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppsFlyerSDK%2Fgithub-common-workflow-and-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppsFlyerSDK%2Fgithub-common-workflow-and-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppsFlyerSDK%2Fgithub-common-workflow-and-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppsFlyerSDK%2Fgithub-common-workflow-and-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AppsFlyerSDK","download_url":"https://codeload.github.com/AppsFlyerSDK/github-common-workflow-and-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppsFlyerSDK%2Fgithub-common-workflow-and-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275058581,"owners_count":25398173,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-09-14T03:43:08.228Z","updated_at":"2025-09-14T03:43:13.372Z","avatar_url":"https://github.com/AppsFlyerSDK.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Common Workflow and Template\n\nThis repository provides **shared GitHub Actions workflows** and **issue templates** for use across all repositories in the AppsFlyerSDK organization. It also includes automation to keep all repositories in sync with these standards.\n\n## Features\n\n- **Reusable GitHub Actions workflows** for common automation tasks (e.g., closing inactive issues, responding to support issues).\n- **Organization-wide issue templates** to standardize issue reporting and improve support.\n- **Automation script** to sync these files across all organization repositories and open pull requests for updates.\n\n## Directory Structure\n\n```\n.github/\n  workflows/                # Shared reusable workflows\n  ISSUE_TEMPLATE/           # Shared issue templates (YAML format)\norg-reusable-workflow-stubs/ # Example workflow stubs for consuming repos\nsync-org-workflows.sh        # Script to sync workflows/templates to all org repos\n```\n\n## How to Use\n\n### 1. Use Shared Workflows in Your Repo\n\nCopy the relevant stub from `org-reusable-workflow-stubs/` into your repo's `.github/workflows/` directory. For example:\n\n```yaml\n# .github/workflows/close_inactive_issues.yml\njobs:\n  close-issues:\n    uses: AppsFlyerSDK/github-common-workflow-and-template/.github/workflows/close_inactive_issues.yml@main\n    secrets: inherit\n```\n\nYou can also add triggers (e.g., `schedule`, `workflow_dispatch`) as needed.\n\n### 2. Use Shared Issue Templates\n\nCopy the YAML files from `.github/ISSUE_TEMPLATE/` in this repo to your repo's `.github/ISSUE_TEMPLATE/` directory.\n\n### 3. Sync All Repos Automatically\n\n#### sync-org-workflows.sh\n\nThis script automates the process of keeping all organization repositories up-to-date with the latest shared workflows and issue templates.\n\n**What it does:**\n- Lists all non-archived repos in the org\n- Clones each repo and creates a new branch\n- Updates workflows and issue templates from the shared source\n- Removes obsolete issue templates\n- Commits and pushes changes if any\n- Opens a pull request for each updated repo\n- Cleans up local clones\n\n**Usage:**\n```sh\n./sync-org-workflows.sh\n```\n\n**Requirements:**\n- [GitHub CLI (`gh`)](https://cli.github.com/) (must be authenticated)\n- `jq` (for JSON processing)\n- Write access to all target repos\n\n\u003e See the top of `sync-org-workflows.sh` for full documentation and workflow details.\n\n## Contributing\n\n- Update or add new workflows in `.github/workflows/`.\n- Update or add new issue templates in `.github/ISSUE_TEMPLATE/`.\n- Update the sync script as needed for new automation requirements.\n\n## License\n\nMIT ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsflyersdk%2Fgithub-common-workflow-and-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappsflyersdk%2Fgithub-common-workflow-and-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsflyersdk%2Fgithub-common-workflow-and-template/lists"}