create-agentic-pdlc 1.1.0 → 1.1.1
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.
|
@@ -25,12 +25,14 @@ jobs:
|
|
|
25
25
|
name: Upstream Comment Marker → Move Card
|
|
26
26
|
if: github.event_name == 'issue_comment' && github.event.action == 'created'
|
|
27
27
|
runs-on: ubuntu-latest
|
|
28
|
+
env:
|
|
29
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
28
30
|
steps:
|
|
29
31
|
- name: Detect Marker and Move Issue
|
|
30
|
-
if: ${{
|
|
32
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
31
33
|
uses: actions/github-script@v7
|
|
32
34
|
with:
|
|
33
|
-
github-token: ${{
|
|
35
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
34
36
|
script: |
|
|
35
37
|
const body = context.payload.comment.body;
|
|
36
38
|
let targetStatusId = null;
|
|
@@ -83,12 +85,14 @@ jobs:
|
|
|
83
85
|
name: Open PR → Code Review
|
|
84
86
|
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
|
85
87
|
runs-on: ubuntu-latest
|
|
88
|
+
env:
|
|
89
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
86
90
|
steps:
|
|
87
91
|
- name: Move linked issue to Code Review
|
|
88
|
-
if: ${{
|
|
92
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
89
93
|
uses: actions/github-script@v7
|
|
90
94
|
with:
|
|
91
|
-
github-token: ${{
|
|
95
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
92
96
|
script: |
|
|
93
97
|
const prNumber = context.payload.pull_request.number;
|
|
94
98
|
const { owner, repo } = context.repo;
|
|
@@ -135,12 +139,14 @@ jobs:
|
|
|
135
139
|
name: Approved PR → Pull Request
|
|
136
140
|
if: github.event_name == 'pull_request_review' && github.event.review.state == 'approved'
|
|
137
141
|
runs-on: ubuntu-latest
|
|
142
|
+
env:
|
|
143
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
138
144
|
steps:
|
|
139
145
|
- name: Move issue to Pull Request
|
|
140
|
-
if: ${{
|
|
146
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
141
147
|
uses: actions/github-script@v7
|
|
142
148
|
with:
|
|
143
|
-
github-token: ${{
|
|
149
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
144
150
|
script: |
|
|
145
151
|
const prNumber = context.payload.pull_request.number;
|
|
146
152
|
const { owner, repo } = context.repo;
|
|
@@ -179,12 +185,14 @@ jobs:
|
|
|
179
185
|
name: Merged PR → Production
|
|
180
186
|
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
|
181
187
|
runs-on: ubuntu-latest
|
|
188
|
+
env:
|
|
189
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
182
190
|
steps:
|
|
183
191
|
- name: Move issue to Production
|
|
184
|
-
if: ${{
|
|
192
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
185
193
|
uses: actions/github-script@v7
|
|
186
194
|
with:
|
|
187
|
-
github-token: ${{
|
|
195
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
188
196
|
script: |
|
|
189
197
|
const prNumber = context.payload.pull_request.number;
|
|
190
198
|
const { owner, repo } = context.repo;
|
package/package.json
CHANGED
|
@@ -25,12 +25,14 @@ jobs:
|
|
|
25
25
|
name: Upstream Comment Marker → Move Card
|
|
26
26
|
if: github.event_name == 'issue_comment' && github.event.action == 'created'
|
|
27
27
|
runs-on: ubuntu-latest
|
|
28
|
+
env:
|
|
29
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
28
30
|
steps:
|
|
29
31
|
- name: Detect Marker and Move Issue
|
|
30
|
-
if: ${{
|
|
32
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
31
33
|
uses: actions/github-script@v7
|
|
32
34
|
with:
|
|
33
|
-
github-token: ${{
|
|
35
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
34
36
|
script: |
|
|
35
37
|
const body = context.payload.comment.body;
|
|
36
38
|
let targetStatusId = null;
|
|
@@ -83,12 +85,14 @@ jobs:
|
|
|
83
85
|
name: Open PR → Code Review
|
|
84
86
|
if: github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')
|
|
85
87
|
runs-on: ubuntu-latest
|
|
88
|
+
env:
|
|
89
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
86
90
|
steps:
|
|
87
91
|
- name: Move linked issue to Code Review
|
|
88
|
-
if: ${{
|
|
92
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
89
93
|
uses: actions/github-script@v7
|
|
90
94
|
with:
|
|
91
|
-
github-token: ${{
|
|
95
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
92
96
|
script: |
|
|
93
97
|
const prNumber = context.payload.pull_request.number;
|
|
94
98
|
const { owner, repo } = context.repo;
|
|
@@ -135,12 +139,14 @@ jobs:
|
|
|
135
139
|
name: Approved PR → Pull Request
|
|
136
140
|
if: github.event_name == 'pull_request_review' && github.event.review.state == 'approved'
|
|
137
141
|
runs-on: ubuntu-latest
|
|
142
|
+
env:
|
|
143
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
138
144
|
steps:
|
|
139
145
|
- name: Move issue to Pull Request
|
|
140
|
-
if: ${{
|
|
146
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
141
147
|
uses: actions/github-script@v7
|
|
142
148
|
with:
|
|
143
|
-
github-token: ${{
|
|
149
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
144
150
|
script: |
|
|
145
151
|
const prNumber = context.payload.pull_request.number;
|
|
146
152
|
const { owner, repo } = context.repo;
|
|
@@ -179,12 +185,14 @@ jobs:
|
|
|
179
185
|
name: Merged PR → Production
|
|
180
186
|
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
|
181
187
|
runs-on: ubuntu-latest
|
|
188
|
+
env:
|
|
189
|
+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
|
|
182
190
|
steps:
|
|
183
191
|
- name: Move issue to Production
|
|
184
|
-
if: ${{
|
|
192
|
+
if: ${{ env.PROJECT_TOKEN != '' }}
|
|
185
193
|
uses: actions/github-script@v7
|
|
186
194
|
with:
|
|
187
|
-
github-token: ${{
|
|
195
|
+
github-token: ${{ env.PROJECT_TOKEN }}
|
|
188
196
|
script: |
|
|
189
197
|
const prNumber = context.payload.pull_request.number;
|
|
190
198
|
const { owner, repo } = context.repo;
|