Skip to content

Commit

Permalink
Test pull_request_target workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Apr 16, 2021
1 parent f94effe commit a825d9a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build-images-workflow-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
---
name: "Build Images"
on: # yamllint disable-line rule:truthy
workflow_run:
workflows: ["CI Build"]
types: ['requested']
pull_request_target:
push:
branches: ['main', 'master', 'v1-10-test', 'v1-10-stable', 'v2-0-test']
env:
MOUNT_SELECTED_LOCAL_SOURCES: "false"
FORCE_ANSWER_TO_QUESTIONS: "yes"
Expand Down Expand Up @@ -72,6 +72,12 @@ jobs:
with:
persist-credentials: false
submodules: recursive
- name: Show GH context
run: |
echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}

- name: "Get information about the original trigger of the run"
uses: ./.github/actions/get-workflow-origin
id: source-run-info
Expand Down

0 comments on commit a825d9a

Please sign in to comment.