Skip to content

Commit

Permalink
Handle pull_request_target event
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed May 23, 2021
1 parent e856afa commit 4d088f5
Show file tree
Hide file tree
Showing 5 changed files with 579 additions and 4 deletions.
25 changes: 25 additions & 0 deletions __tests__/fixtures/event_pull_request_target.env
@@ -0,0 +1,25 @@
GITHUB_ACTION=crazy-maxghaction-dump-context
GITHUB_ACTIONS=true
GITHUB_ACTION_PATH=/home/runner/work/_actions/crazy-max/ghaction-dump-context/v1
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=crazy-max
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_cc4da131-0660-4771-8663-0f96c0fc944f
GITHUB_EVENT_NAME=pull_request_target
GITHUB_EVENT_PATH=./__tests__/fixtures/event_pull_request_target.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=test-pr-target
GITHUB_JOB=build
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_cc4da131-0660-4771-8663-0f96c0fc944f
GITHUB_REF=refs/heads/master
GITHUB_REPOSITORY=crazy-max/test-docker-action
GITHUB_REPOSITORY_OWNER=crazy-max
GITHUB_RETENTION_DAYS=90
GITHUB_RUN_ID=867725119
GITHUB_RUN_NUMBER=12
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=f24900bfcfee76d8055c8421a164c7e57ad20e68
GITHUB_WORKFLOW=push-ghcr
GITHUB_WORKSPACE=/home/runner/work/test-docker-action/test-docker-action

0 comments on commit 4d088f5

Please sign in to comment.