Skip to content

Commit

Permalink
Merge pull request #837 from peter-evans/proxy-support
Browse files Browse the repository at this point in the history
feat: add support for https_proxy env var
  • Loading branch information
peter-evans committed May 24, 2021
2 parents 01f7dd1 + 243251c commit 9825ae6
Show file tree
Hide file tree
Showing 5 changed files with 1,905 additions and 139 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -64,6 +64,14 @@ All inputs are **optional**. If not set, sensible defaults will be used.
| `milestone` | The number of the milestone to associate this pull request with. | |
| `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` |

For self-hosted runners behind a corporate proxy set the `https_proxy` environment variable.
```yml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
env:
https_proxy: http://<proxy_address>:<port>
```

### Action outputs

The following outputs can be used by subsequent workflow steps.
Expand Down

0 comments on commit 9825ae6

Please sign in to comment.