Skip to content

Commit 2e9e68c

Browse files
jamackuCopilot
andcommitted
feat: add support for issue-metadata
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 26d203e commit 2e9e68c

File tree

16 files changed

+196
-8
lines changed

16 files changed

+196
-8
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,21 @@ GitHub Action exposes following [outputs](https://docs.github.com/en/actions/usi
144144
]
145145
}
146146
}
147-
]
147+
],
148+
"metadata": [
149+
{
150+
"id": {
151+
"key": "value"
152+
}
153+
}
154+
],
148155
}
149156
```
150157

158+
> [!NOTE]
159+
>
160+
> The `metadata` object holds all [issue-metadata](https://github.com/redhat-plumbers-in-action/issue-metadata) objects from the Pull Request comments. Issue-metadata have the following format: `<!-- <id> = {"key":"value"} -->`.
161+
151162
### metadata-file
152163

153164
Relative path to JSON file containing Pull Request metadata object.

β€Ždist/index.jsβ€Ž

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/index.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/pull-request.d.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/pull-request.jsβ€Ž

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/pull-request.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/schema.d.tsβ€Ž

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/schema.jsβ€Ž

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/schema.js.mapβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/util.d.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)