Skip to content

Commit 9825ae6

Browse files
authored
Merge pull request #837 from peter-evans/proxy-support
feat: add support for https_proxy env var
2 parents 01f7dd1 + 243251c commit 9825ae6

File tree

5 files changed

+1905
-139
lines changed

5 files changed

+1905
-139
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ All inputs are **optional**. If not set, sensible defaults will be used.
6464
| `milestone` | The number of the milestone to associate this pull request with. | |
6565
| `draft` | Create a [draft pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests#draft-pull-requests). | `false` |
6666

67+
For self-hosted runners behind a corporate proxy set the `https_proxy` environment variable.
68+
```yml
69+
- name: Create Pull Request
70+
uses: peter-evans/create-pull-request@v3
71+
env:
72+
https_proxy: http://<proxy_address>:<port>
73+
```
74+
6775
### Action outputs
6876

6977
The following outputs can be used by subsequent workflow steps.

0 commit comments

Comments
 (0)