Commit d59dbea 1 parent 8d7e574 commit d59dbea Copy full SHA for d59dbea
File tree 1 file changed +23
-23
lines changed
1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change 1
- name : Copy Issue Description to Comment with Header
1
+ # name: Copy Issue Description to Comment with Header
2
2
3
- on :
4
- issues :
5
- types : [opened]
3
+ # on:
4
+ # issues:
5
+ # types: [opened]
6
6
7
- jobs :
8
- copy_description_to_comment :
9
- runs-on : ubuntu-latest
10
- steps :
11
- - name : Copy issue description to comment with header
12
- uses : actions/github-script@v6
13
- with :
14
- github-token : ${{secrets.GITHUB_TOKEN}}
15
- script : |
16
- const issue = context.issue;
17
- const issueBody = context.payload.issue.body;
7
+ # jobs:
8
+ # copy_description_to_comment:
9
+ # runs-on: ubuntu-latest
10
+ # steps:
11
+ # - name: Copy issue description to comment with header
12
+ # uses: actions/github-script@v6
13
+ # with:
14
+ # github-token: ${{secrets.GITHUB_TOKEN}}
15
+ # script: |
16
+ # const issue = context.issue;
17
+ # const issueBody = context.payload.issue.body;
18
18
19
- // Create a comment with a header and the issue description
20
- const commentBody = `### Original Request\n-------\n\n${issueBody}`;
19
+ # // Create a comment with a header and the issue description
20
+ # const commentBody = `### Original Request\n-------\n\n${issueBody}`;
21
21
22
- await github.rest.issues.createComment({
23
- owner: issue.owner,
24
- repo: issue.repo,
25
- issue_number: issue.number,
26
- body: commentBody
27
- });
22
+ # await github.rest.issues.createComment({
23
+ # owner: issue.owner,
24
+ # repo: issue.repo,
25
+ # issue_number: issue.number,
26
+ # body: commentBody
27
+ # });
You can’t perform that action at this time.
0 commit comments