{"id":18150949,"url":"https://github.com/birajmainali/bulk-github-action-runner","last_synced_at":"2026-02-07T12:32:01.962Z","repository":{"id":260300303,"uuid":"880177177","full_name":"BirajMainali/bulk-github-action-runner","owner":"BirajMainali","description":"Automate GitHub Actions workflows across multiple projects and branches using Puppeteer. Configurable, browser-driven CI/CD solution for GitHub organizations. #Automation #Puppeteer #GitHubActions #CI/CD #NodeJS","archived":false,"fork":false,"pushed_at":"2024-10-30T15:29:55.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-20T11:29:06.227Z","etag":null,"topics":["actions","browser-automation","bulk-actions","bulk-github-action-runner","bulk-github-workflow-runner","github","microservices","microserviecs-deployment","workflows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/BirajMainali.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}},"created_at":"2024-10-29T09:05:13.000Z","updated_at":"2024-10-30T15:32:19.000Z","dependencies_parsed_at":"2024-10-30T16:41:20.370Z","dependency_job_id":null,"html_url":"https://github.com/BirajMainali/bulk-github-action-runner","commit_stats":null,"previous_names":["birajmainali/bulk-github-action-runner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BirajMainali%2Fbulk-github-action-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BirajMainali%2Fbulk-github-action-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BirajMainali%2Fbulk-github-action-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BirajMainali%2Fbulk-github-action-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BirajMainali","download_url":"https://codeload.github.com/BirajMainali/bulk-github-action-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238602122,"owners_count":19499340,"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":["actions","browser-automation","bulk-actions","bulk-github-action-runner","bulk-github-workflow-runner","github","microservices","microserviecs-deployment","workflows"],"created_at":"2024-11-02T01:05:56.969Z","updated_at":"2026-02-07T12:32:01.922Z","avatar_url":"https://github.com/BirajMainali.png","language":"JavaScript","readme":"# Bulk GitHub Action Runner\n\nThis project automates the execution of multiple GitHub Actions workflows across various projects and branches using [Puppeteer](https://pptr.dev/), enabling streamlined workflow management from the command line.\n\n## Features\n\n- Initiates workflows for specific branches (`develop` or `master`) as configured.\n- Automates GitHub Actions for multiple projects within an organization.\n- Configurable with `config.json` for project details, workflows, branches, and browser settings.\n- Launches a Chrome/Chromium instance for browser-based UI automation.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v12 or higher)\n- [Puppeteer](https://pptr.dev/)\n\n## Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/BirajMainali/bulk-github-action-runner.git\n   cd bulk-github-action-runner\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Configure `config.json`**:\n   Create a `config.json` file in the root directory using the following structure:\n\n   ```json\n   {\n       \"browser\": {\n           \"executablePath\": \"C:\\\\Program Files\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe\",\n           \"userDataDir\": \"C:\\\\Users\\\\{{Your Name}}\\\\AppData\\\\Local\\\\Google\\\\Chrome\\\\User Data\"\n       },\n       \"supportedBranches\": [\"develop\", \"master\"],\n       \"organization\": \"organization-name\",\n       \"projects\": [\n           {\n               \"name\": \"project-name\",\n               \"workflows\": {\n                   \"develop\": [\"build-dev\", \"deploy-dev\"],\n                   \"master\": [\"deploy.yml\"]\n               }\n           }\n       ]\n   }\n   ```\n\n   - **`browser.executablePath`**: Path to your Chrome/Chromium executable.\n   - **`browser.userDataDir`**: Path to your Chrome user data directory (to retain login sessions).\n   - **`supportedBranches`**: List of branches where workflows can run (e.g., `develop`, `master`).\n   - **`organization`**: Your GitHub organization or username.\n   - **`projects`**: Array of projects with workflow file names specific to each branch.\n\n## Usage\n\nRun the script using the following command:\n\n```bash\nnode index.js\n```\n\nThe script will prompt you to select a branch (`develop` or `master`) to run workflows. Based on your selection, it will:\n\n1. Navigate to each project’s GitHub Actions page.\n2. Select the specified branch.\n3. Start the workflows listed for that branch.\n\n### Example Config Prompt\n```plaintext\nWhich branch do you want to run the workflow for (develop/master)?\n```\n\n## Notes\n\n- Ensure you are logged into GitHub in Chrome/Chromium for Puppeteer to work seamlessly.\n- If your account has two-factor authentication, you may need to log in manually during the first run.\n- The `userDataDir` path retains login data, reducing the need to re-authenticate.\n\n## License\n\nThis project is open-source and available under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirajmainali%2Fbulk-github-action-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirajmainali%2Fbulk-github-action-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirajmainali%2Fbulk-github-action-runner/lists"}