Skip to content

Commit 5510d19

Browse files
committed
config(github/reusable-update-flake-lock): Add outputs in main job
1 parent b7a6890 commit 5510d19

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/reusable-update-flake-lock.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,19 @@ on:
3030
required: true
3131

3232
outputs:
33-
pr-url: ${{ steps.create-pr.outputs.pull-request-url }}
34-
pr-number: ${{ steps.create-pr.outputs.pull-request-number }}
33+
pr-url:
34+
description: 'Pull Request URL'
35+
value: ${{ jobs.main.outputs.pull-request-url }}
36+
pr-number:
37+
description: 'Pull Request Number'
38+
value: ${{ jobs.main.outputs.pull-request-number }}
3539

3640
jobs:
3741
main:
3842
runs-on: ${{ fromJSON(inputs.runner) }}
43+
outputs:
44+
pull-request-url: ${{ steps.create-pr.outputs.pull-request-url }}
45+
pull-request-number: ${{ steps.create-pr.outputs.pull-request-number }}
3946

4047
steps:
4148
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)