-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit b8f870d.
- Loading branch information
Showing
3 changed files
with
57 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Parse Delivery | ||
outputs: | ||
filenames: | ||
description: Filenames of all delivery documents | ||
value: ${{ steps.files.outputs.added }} | ||
milestone-number: | ||
description: Milestone number | ||
value: ${{ steps.parse-delivery.outputs.milestone_number }} | ||
application-filename: | ||
description: Filename of the application document | ||
value: ${{ steps.parse-delivery.outputs.application_document }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Get filenames of any deliveries being added | ||
id: files | ||
uses: Ana06/get-changed-files@v2.0.0 | ||
with: | ||
filter: 'deliveries/*.md' | ||
|
||
- name: Parse delivery file # TODO parse all files separately if there are multiple | ||
if: steps.files.outputs.added | ||
id: parse-delivery | ||
uses: w3f/parse-milestone-delivery-action@v3 | ||
with: | ||
path: "${{ github.workspace }}/${{ steps.files.outputs.added }}" | ||
|
||
- uses: actions/checkout@v2 # Return to master branch (otherwise the composite action fails) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters