Skip to content

Commit

Permalink
Add a second job that uses the output of the first
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixFrog committed Aug 12, 2024
1 parent 84d9e40 commit 0494e33
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/move-to-in-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@ on:
types: [opened, reopened, ready_for_review, synchronize, edited]

jobs:
extract:
extract-issue-numbers:
runs-on: ubuntu-latest
outputs:
issues: ${{ steps.extract.outputs.issues }}
steps:
- uses: MatrixFrog/pr-extract-issues@2684b0f1d7b1671b7fb9ab8bfbb9b2b88983e6c5
- id: extract
uses: MatrixFrog/pr-extract-issues@2684b0f1d7b1671b7fb9ab8bfbb9b2b88983e6c5
with:
way: 'body'

move-issues:
needs: extract-issue-numbers
runs-on: ubuntu-latest
steps:
- env:
ISSUES: ${{ needs.extract-issue-numbers.outputs.issues }}
run: "echo $ISSUES"


0 comments on commit 0494e33

Please sign in to comment.