{"id":42686517,"url":"https://github.com/dev-proxy-tools/actions","last_synced_at":"2026-01-29T12:25:18.071Z","repository":{"id":302901792,"uuid":"1013890344","full_name":"dev-proxy-tools/actions","owner":"dev-proxy-tools","description":"A collection of GitHub Actions for using Dev Proxy in your GitHub Action workflows.","archived":false,"fork":false,"pushed_at":"2025-08-13T09:41:51.000Z","size":713,"stargazers_count":6,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T11:34:58.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://aka.ms/devproxy","language":"Shell","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/dev-proxy-tools.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,"zenodo":null}},"created_at":"2025-07-04T16:31:48.000Z","updated_at":"2025-08-13T09:39:08.000Z","dependencies_parsed_at":"2025-07-28T12:19:06.186Z","dependency_job_id":"b091a285-aa89-4175-9a08-58b68dd176de","html_url":"https://github.com/dev-proxy-tools/actions","commit_stats":null,"previous_names":["dev-proxy-tools/actions"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/dev-proxy-tools/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-proxy-tools%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-proxy-tools%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-proxy-tools%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-proxy-tools%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-proxy-tools","download_url":"https://codeload.github.com/dev-proxy-tools/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-proxy-tools%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28877641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-01-29T12:25:16.845Z","updated_at":"2026-01-29T12:25:18.040Z","avatar_url":"https://github.com/dev-proxy-tools.png","language":"Shell","readme":"# Dev Proxy GitHub Actions\n\nA collection of GitHub Actions for using [Dev Proxy](https://aka.ms/devproxy) in your GitHub Action workflows.\n\n## Actions\n\n- [`setup`](#setup) - Setup Dev Proxy\n- [`start`](#start) - Start Dev Proxy manually\n- [`stop`](#stop) - Stop Dev Proxy instance\n- [`record-start`](#record-start) - Start recording\n- [`record-stop`](#record-stop) - Stop recording\n- [`chromium-cert`](#chromium-cert) - Install Dev Proxy certificate for Chromium browsers\n\n## Usage\n\n\u003e [!IMPORTANT]  \n\u003e Dev Proxy Actions support Linux based runners only.\n\n### Setup\n\nUse the `setup` action to install and start Dev Proxy.\n\n```yaml\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n  with:\n    version: v1.0.0\n```\n\nThe `setup` action automatically:\n \n - Installs a specific version of Dev Proxy and caches it to speed up subsequent runs.\n - Start Dev Proxy using the default configuration file, `devroxyrc.json`.\n - Install and trust Dev Proxy certificate on the runner.\n - Set `http_proxy` and `https_proxy` environment variables to route traffic through Dev Proxy.\n - Registers a post-step that will stop Dev Proxy and clean up when the workflow completes.\n\n**Inputs:**\n\nYou can customize the behavior of the `setup` action using the following inputs:\n\n| Name | Description | Required | Default |\n|------|-------------|----------|---------|\n| `auto-start` | Automatically start Dev Proxy | No | `true` |\n| `auto-stop` | Automatically stop Dev Proxy after the workflow completes | No | `true` |\n| `auto-record` | Automatically start Dev Proxy in recording mode | No | `false` |\n| `config-file` | Path to the Dev Proxy configuration file | No | Uses default configuration |\n| `enable-cache` | Enable caching of Dev Proxy installation to speed up subsequent runs. Only applies when `version` is specified. | No | `true` |\n| `log-file` | Path to log Dev Proxy output to | No | `devproxy.log` |\n| `report-job-summary` | Path to output report content for use as summaries (e.g., `$GITHUB_STEP_SUMMARY`). | No | None |\n| `version` | Version of Dev Proxy to install (e.g., v1.0.0, v1.0.0-beta.2) | No | latest |\n\n**Outputs:**\n\nThe `setup` action provides the following outputs that can be used in subsequent steps:\n\n| Name | Description |\n|------|-------------|\n| `api-url` | The URL of the Dev Proxy API |\n| `proxy-url` | The URL of the running Dev Proxy instance |\n\n### Start\n\nUse the `start` action to start Dev Proxy manually.\n\n```yaml\n# Install Dev Proxy\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n  with:\n    auto-start: false\n\n# Additional steps can be added here\n\n- name: Start Dev Proxy\n  id: start-devproxy\n  uses: dev-proxy-tools/actions/start@v1\n```\n\nThe `start` action automatically:\n \n - Start Dev Proxy using the default configuration file, `devroxyrc.json`.\n - Install and trust Dev Proxy certificate on the runner.\n - Set `http_proxy` and `https_proxy` environment variables to route traffic through Dev Proxy.\n - Registers a post-step that will stop Dev Proxy and clean up when the workflow completes.\n\n**Inputs:**\n\nYou can customize the behavior of the `start` action using the following inputs:\n\n| Name | Description | Required | Default |\n|------|-------------|----------|---------|\n| `auto-stop` | Automatically stop Dev Proxy after the workflow completes | No | `true` |\n| `auto-record` | Automatically start Dev Proxy in recording mode | No | `false` |\n| `config-file` | Path to the Dev Proxy configuration file | No | Uses default configuration |\n| `log-file` | Path to log Dev Proxy output to | No | `devproxy.log` |\n| `report-job-summary` | Path to output report content for use as summaries (e.g., `$GITHUB_STEP_SUMMARY`). | No | None |\n\n**Outputs:**\n\nThe `start` action provides the following outputs that can be used in subsequent steps:\n\n| Name | Description |\n|------|-------------|\n| `api-url` | The URL of the Dev Proxy API |\n| `proxy-url` | The URL of the running Dev Proxy instance |\n\n### Stop\n\nUse the `stop` action to stop the running Dev Proxy instance and clean up the environment variables. This is useful if you want to stop Dev Proxy manually, for example, to generate reports that you want to upload as artifacts.\n\n```yaml\n# Install and start Dev Proxy in recording mode\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n  with:\n    auto-record: true\n\n# Additional steps can be added here\n\n- name: Stop Dev Proxy\n  uses: dev-proxy-tools/actions/stop@v1\n\n# Upload generated reports as artifacts\n- name: Upload Dev Proxy reports\n  uses: actions/upload-artifact@v4\n  with:\n    name: Reports\n    path: ./*Reporter*\n```\n\n### Start recording\n\nUse the `record-start` action to start recording mode manually.\n\n```yaml\n# Install and start Dev Proxy\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n\n# Additional steps can be added here\n\n- name: Start recording\n  uses: dev-proxy-tools/actions/record-start@v1\n```\n\n### Stop recording\n\nUse the `record-stop` action to stop recording mode.\n\n```yaml\n# Install and start Dev Proxy\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n\n# Additional steps can be added here\n\n- name: Start recording\n  uses: dev-proxy-tools/actions/record-start@v1\n\n# Additional steps can be added here\n\n- name: Stop recording\n  uses: dev-proxy-tools/actions/record-stop@v1\n```\n\n### Install Dev Proxy certificate for Chromium browsers\n\nUse the `chromium-cert` action to install the Dev Proxy certificate for Chromium browsers. This is useful for ensuring that requests made through Dev Proxy are trusted by Chromium-based browsers. Typically you would use this action in a workflow that uses Playwright, or other end to end testing framework, that require a trusted certificate for running tests inside a browser.\n\n```yaml\n# Install and start Dev Proxy\n- name: Setup Dev Proxy\n  id: setup-devproxy\n  uses: dev-proxy-tools/actions/setup@v1\n\n# Install and trust the Dev Proxy certificate for Chromium\n- name: Install the Dev Proxy certificate for Chromium\n  uses: dev-proxy-tools/actions/chromium-cert@v1\n\n# Run test suites\n- name: Run tests\n  run: npm test\n```\n\n## Example Workflow\n\nA simple example workflow that uses the `setup` action to install and start Dev Proxy, sends a request through it, and shows the logs:\n\n```yaml\nname: Example Dev Proxy workflow\n\non:\n  workflow_dispatch:\n\njobs:\n  example-dev-proxy:\n    name: Example Dev Proxy Job\n    runs-on: ubuntu-latest\n    steps:\n\n      # Install v1.0.0 and start Dev Proxy in recording mode\n      # Reports are written to Job Summary\n      # Caching is enabled by default to speed up subsequent runs\n      - name: Setup Dev Proxy\n        id: setup-devproxy\n        uses: dev-proxy-tools/actions/setup@v1\n        with:\n          version: v1.0.0\n          auto-record: true\n          report-job-summary: $GITHUB_STEP_SUMMARY\n\n      # Send a request through Dev Proxy\n      - name: Send request\n        run: |\n          curl -ikx \"${{ steps.setup-devproxy.outputs.proxy-url }}\" https://jsonplaceholder.typicode.com/posts\n\n      # Show the logs on success or failure\n      - name: Show logs\n        if: always()\n        run: |\n          echo \"Dev Proxy logs:\"\n          cat devproxy.log\n```\n\n## Samples\n\nYou can find more examples and samples in the [samples](./samples/) directory.\n\n| Test Project | Description |\n|--------------|-------------|\n| [llm-usage](./samples/llm-usage/) | Tests AI/LLM usage tracking and reporting with OpenAI telemetry plugin, includes Playwright tests for feedback analysis |\n| [node-js](./samples/node-js/) | Simple Node.js integration test that validates basic Dev Proxy functionality with HTTP requests |\n| [playwright-web-app](./samples/playwright-web-app/) | Playwright end-to-end testing example with mock data configuration and blog post testing scenarios |\n\n## License\n\nThis project is licensed under the terms specified in the [LICENSE](LICENSE) file.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-proxy-tools%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-proxy-tools%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-proxy-tools%2Factions/lists"}