You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ This Action was submitted to the [GitHub Actions Hackathon] and featured by GitH
33
33
-[Set a Path to Action Setting File](#set-a-path-to-action-setting-file)
34
34
-[Set a Personal Access Token](#set-a-personal-access-token)
35
35
-[Enable Debug Mode](#enable-debug-mode)
36
+
-[Work with Issue Template](#work-with-issue-template)
36
37
-[Work with Other Auto Label Actions](#work-with-other-auto-label-actions)
37
38
-[Examples](#examples)
38
39
-[Comment and Close Invalid Format Issue or Pull Request](#comment-and-close-invalid-format-issue-or-pull-request)
@@ -254,6 +255,33 @@ Default is `${{ github.token }}`
254
255
255
256
256
257
258
+
## Work with Issue Template
259
+
260
+
Here is a proposal issue template: [.github/ISSUE_TEMPLATE/proposal.md](https://github.com/peaceiris/actions-label-commenter/blob/main/.github/ISSUE_TEMPLATE/proposal.md)
261
+
262
+
```yaml
263
+
---
264
+
name: Proposal
265
+
about: Suggest an idea for this project
266
+
title: 'proposal: This is a sample title'
267
+
labels: proposal
268
+
assignees: peaceiris
269
+
---
270
+
271
+
Issue body here...
272
+
```
273
+
274
+
Scenario:
275
+
276
+
1. When a user opens an issue with the proposal template, the proposal label will be added automatically.
277
+
1. This action can detect that `labeled` event and create a template comment of proposal.
278
+
279
+
<div align="right">
280
+
<a href="#table-of-contents">Back to TOC ☝️</a>
281
+
</div>
282
+
283
+
284
+
257
285
## Work with Other Auto Label Actions
258
286
259
287
> [Authenticating with the GITHUB_TOKEN - GitHub Docs](https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#using-the-github_token-in-a-workflow)
0 commit comments