Skip to content

Commit

Permalink
xdfd
Browse files Browse the repository at this point in the history
  • Loading branch information
alankritdabral committed Jan 6, 2024
1 parent 3b0f47d commit d493b4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/job1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
description: "The second output string"
value: ${{ jobs.example_job.outputs.output2 }}

pull_request_target:
types: [opened, reopened, synchronize]

jobs:
example_job:
name: Generate output
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/job2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ name: Call a reusable workflow and use its outputs

on:
workflow_dispatch:

push:
branches:
- "**"
pull_request:
branches: [main]
types: [opened, reopened, synchronize]
jobs:
job1:
uses: octo-org/example-repo/.github/workflows/called-workflow.yml@v1
Expand Down

0 comments on commit d493b4f

Please sign in to comment.