@daiyam/artifact-gh-issuehub 0.4.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.artifactrc.yml CHANGED
@@ -3,3 +3,6 @@ update:
3
3
  overwrite: true
4
4
  .github/**/*.yml:
5
5
  overwrite: true
6
+
7
+ variables:
8
+ REPOSITORY_SLUG: package.json.repository.url.split('/').slice(-2).join('/').replace('.git', '')
@@ -6,7 +6,7 @@ body:
6
6
  attributes:
7
7
  value: |-
8
8
  > [!IMPORTANT]
9
- > Please read through [the Discussion rules](https://github.com/REPOSITORY_SLUG/discussions/2) and check for both existing [Discussions](https://github.com/REPOSITORY_SLUG/discussions?discussions_q=) and [Issues](https://github.com/REPOSITORY_SLUG/issues?q=sort%3Areactions-desc) prior to opening a new Discussion.
9
+ > Please read through [the Discussion rules](https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions/2) and check for both existing [Discussions](https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions?discussions_q=) and [Issues](https://github.com/#[[vars.REPOSITORY_SLUG]]/issues?q=sort%3Areactions-desc) prior to opening a new Discussion.
10
10
 
11
11
  - type: markdown
12
12
  attributes:
@@ -40,26 +40,12 @@ body:
40
40
  validations:
41
41
  required: true
42
42
 
43
- - type: input
44
- attributes:
45
- label: Editor Name & Version
46
- placeholder: VSCode v1.110.0
47
- validations:
48
- required: true
49
-
50
- - type: input
51
- attributes:
52
- label: Extension Version
53
- placeholder: v0.11.0
54
- validations:
55
- required: true
56
-
57
43
  - type: textarea
58
44
  attributes:
59
45
  label: Environment
60
- description: Paste the output of `npx envinfo --system` here.
46
+ description: Paste the output of `npx envinfo --system --binaries --npmPackages` here.
61
47
  render: text
62
- placeholder: System
48
+ placeholder: System, Binaries, npmPackages
63
49
  validations:
64
50
  required: true
65
51
 
@@ -68,7 +54,7 @@ body:
68
54
  value: |-
69
55
  # User Acknowledgements
70
56
  > [!TIP]
71
- > Use these links to review the existing [Discussions](https://github.com/REPOSITORY_SLUG/discussions?discussions_q=) and [Issues](https://github.com/REPOSITORY_SLUG/issues?q=sort%3Areactions-desc).
57
+ > Use these links to review the existing [Discussions](https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions?discussions_q=) and [Issues](https://github.com/#[[vars.REPOSITORY_SLUG]]/issues?q=sort%3Areactions-desc).
72
58
 
73
59
  - type: checkboxes
74
60
  attributes:
@@ -1,5 +1,5 @@
1
1
  blank_issues_enabled: false
2
2
  contact_links:
3
3
  - name: Features, Bug Reports, Questions
4
- url: https://github.com/REPOSITORY_SLUG/discussions/new/choose
4
+ url: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions/new/choose
5
5
  about: Our preferred starting point if you have any questions or suggestions about configuration, features or behavior.
@@ -6,14 +6,14 @@ body:
6
6
  - type: markdown
7
7
  attributes:
8
8
  value: |-
9
- This project doesn't accept Issues directly. Please prefer GitHub Discussions. See: https://github.com/REPOSITORY_SLUG/issues/1
9
+ This project doesn't accept Issues directly. Please prefer GitHub Discussions. See: https://github.com/#[[vars.REPOSITORY_SLUG]]/issues/1
10
10
 
11
11
  - type: checkboxes
12
12
  id: checkbox
13
13
  attributes:
14
14
  label: Sanity check
15
15
  options:
16
- - label: I read https://github.com/REPOSITORY_SLUG/issues/1
16
+ - label: I read https://github.com/#[[vars.REPOSITORY_SLUG]]/issues/1
17
17
  required: true
18
18
 
19
19
  - type: textarea
@@ -22,7 +22,7 @@ jobs:
22
22
 
23
23
  if [[ "${BODY}" =~ "CLOSE THIS ISSUE" ]]; then
24
24
  gh issue edit "${ISSUE}" --add-label "S-not-preapproved"
25
- gh issue close "${ISSUE}" --comment "Please don't open issues directly, use GitHub Discussions instead. See: https://github.com/REPOSITORY_SLUG/issues/1"
25
+ gh issue close "${ISSUE}" --comment "Please don't open issues directly, use GitHub Discussions instead. See: https://github.com/#[[vars.REPOSITORY_SLUG]]/issues/1"
26
26
  gh issue lock "${ISSUE}"
27
27
  fi
28
28
  env:
@@ -32,8 +32,8 @@ This project **does not use the issue tracker for discussion or feature requests
32
32
 
33
33
  Any Discussion which clearly identifies a problem and can be confirmed or reproduced will be converted to an Issue by a maintainer, so as a user finding a valid problem you don't do any extra work anyway. Thank you.
34
34
 
35
- [Discussion]: https://github.com/REPOSITORY_SLUG/discussions
36
- [discussions]: https://github.com/REPOSITORY_SLUG/discussions
35
+ [Discussion]: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions
36
+ [discussions]: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions
37
37
 
38
38
  ## Use of AI
39
39
 
@@ -62,15 +62,15 @@ If your issue hasn't been reported already, open an ["Issue Triage"] discussion
62
62
  >
63
63
  > Please make sure that you _only_ use the "Issue Triage" category for reporting bugs — thank you!
64
64
 
65
- [closed issues]: https://github.com/REPOSITORY_SLUG/issues?q=is%3Aissue%20state%3Aclosed
66
- [closed discussions]: https://github.com/REPOSITORY_SLUG/discussions?discussions_q=is%3Aclosed
67
- ["Issue Triage"]: https://github.com/REPOSITORY_SLUG/discussions/new?category=issue-triage
65
+ [closed issues]: https://github.com/#[[vars.REPOSITORY_SLUG]]/issues?q=is%3Aissue%20state%3Aclosed
66
+ [closed discussions]: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions?discussions_q=is%3Aclosed
67
+ ["Issue Triage"]: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions/new?category=issue-triage
68
68
 
69
69
  ## I have an idea for a feature
70
70
 
71
71
  Like bug reports, first search through both issues and discussions and try to find if your feature has already been requested. Otherwise, open a discussion in the ["Feature Requests, Ideas"] category.
72
72
 
73
- ["Feature Requests, Ideas"]: https://github.com/REPOSITORY_SLUG/discussions/new?category=feature-requests-ideas
73
+ ["Feature Requests, Ideas"]: https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions/new?category=feature-requests-ideas
74
74
 
75
75
  ## I want to make changes
76
76
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bugs": {
3
- "url": "https://github.com/REPOSITORY_SLUG/discussions/categories/issue-triage"
3
+ "url": "https://github.com/#[[vars.REPOSITORY_SLUG]]/discussions/categories/issue-triage"
4
4
  }
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-gh-issuehub",
3
- "version": "0.4.4",
3
+ "version": "0.5.0",
4
4
  "description": "",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/daiyam/artifact-configs/issues"
17
17
  },
18
18
  "keywords": [],
19
- "gitHead": "6d99c83a44c8ad8e07d7173cc43d2b9974fb020f"
19
+ "gitHead": "0ea7b9df61243b990a52638ac928a686247410b6"
20
20
  }