Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example workflow to push to public PR #49

Closed
wants to merge 1 commit into from
Closed

Add example workflow to push to public PR #49

wants to merge 1 commit into from

Commits on Sep 25, 2020

  1. Add example workflow to push to public PR

    This uses https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#pull_request_target which is triggered by the events as `pull_request`, but the action runs in the context of the _base_ repository.
    This should be safe to run as long as the workflow code does not execute any code from the PR since this would otherwise expose the `GITHUB_TOKEN`
    
    Note this will only work if the PR submitter enables `Allow edits and access to secrets by maintainers`
    manics committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    3baaef6 View commit details
    Browse the repository at this point in the history