Skip to content

Commit df4fc02

Browse files
committed
github: fix issue titles
Add the job name to issue titles and contents.
1 parent dea395a commit df4fc02

File tree

4 files changed

+29
-39
lines changed

4 files changed

+29
-39
lines changed

.github/workflows/instrumented.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
id: create-or-update-unique-issue
5454
uses: ./.github/actions/post-issue
5555
with:
56-
title: "${{ inputs.file_issue_branch }}: nightly testrace failed"
57-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
56+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
57+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
5858
labels: "C-test-failure"
5959

6060
linux-asan:
@@ -77,8 +77,8 @@ jobs:
7777
id: create-or-update-unique-issue
7878
uses: ./.github/actions/post-issue
7979
with:
80-
title: "${{ inputs.file_issue_branch }}: nightly testasan failed"
81-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
80+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
81+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
8282
labels: "C-test-failure"
8383

8484
linux-msan:
@@ -101,7 +101,7 @@ jobs:
101101
id: create-or-update-unique-issue
102102
uses: ./.github/actions/post-issue
103103
with:
104-
title: "${{ inputs.file_issue_branch }}: nightly testmsan failed"
105-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
104+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
105+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
106106
labels: "C-test-failure"
107107

.github/workflows/s390x.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
id: create-or-update-unique-issue
5959
uses: ./.github/actions/post-issue
6060
with:
61-
title: "${{ inputs.file_issue_branch }}: nightly s390x test failed"
62-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
61+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} test failed"
62+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
6363
labels: "C-test-failure"

.github/workflows/stress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656
id: create-or-update-unique-issue
5757
uses: ./.github/actions/post-issue
5858
with:
59-
title: "${{ inputs.file_issue_branch }}: nightly stress tests failed"
60-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
59+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} tests failed"
60+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
6161
labels: "C-test-failure"

.github/workflows/tests.yaml

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ on:
3434

3535
jobs:
3636
linux:
37-
name: linux
3837
runs-on: ubuntu-latest
3938
steps:
4039
- uses: actions/checkout@v4
@@ -56,13 +55,12 @@ jobs:
5655
id: create-or-update-unique-issue
5756
uses: ./.github/actions/post-issue
5857
with:
59-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
60-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
58+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
59+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
6160
labels: "C-test-failure"
6261

6362

6463
linux-32bit:
65-
name: linux-32bit
6664
runs-on: ubuntu-latest
6765
steps:
6866
- uses: actions/checkout@v4
@@ -81,13 +79,12 @@ jobs:
8179
id: create-or-update-unique-issue
8280
uses: ./.github/actions/post-issue
8381
with:
84-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
85-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
82+
title: "${{ inputs.file_issue_branch }}: nightly linux-32bit test failed"
83+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
8684
labels: "C-test-failure"
8785

8886

8987
linux-arm:
90-
name: linux-arm
9188
runs-on: ubuntu-22.04-arm
9289
steps:
9390
- uses: actions/checkout@v4
@@ -106,13 +103,12 @@ jobs:
106103
id: create-or-update-unique-issue
107104
uses: ./.github/actions/post-issue
108105
with:
109-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
110-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
106+
title: "${{ inputs.file_issue_branch }}: nightly linux-arm test failed"
107+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
111108
labels: "C-test-failure"
112109

113110

114111
linux-crossversion:
115-
name: linux-crossversion
116112
runs-on: ubuntu-latest
117113
steps:
118114
- uses: actions/checkout@v4
@@ -135,12 +131,11 @@ jobs:
135131
uses: ./.github/actions/post-issue
136132
with:
137133
title: "${{ inputs.file_issue_branch }}: nightly crossversion test failed"
138-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
134+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
139135
labels: "C-test-failure"
140136

141137

142138
linux-no-invariants:
143-
name: linux-no-invariants
144139
runs-on: ubuntu-latest
145140
steps:
146141
- uses: actions/checkout@v4
@@ -159,13 +154,12 @@ jobs:
159154
id: create-or-update-unique-issue
160155
uses: ./.github/actions/post-issue
161156
with:
162-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
163-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
157+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
158+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
164159
labels: "C-test-failure"
165160

166161

167162
linux-no-cgo:
168-
name: linux-no-cgo
169163
runs-on: ubuntu-latest
170164
steps:
171165
- uses: actions/checkout@v4
@@ -184,13 +178,12 @@ jobs:
184178
id: create-or-update-unique-issue
185179
uses: ./.github/actions/post-issue
186180
with:
187-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
188-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
181+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
182+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
189183
labels: "C-test-failure"
190184

191185

192186
darwin:
193-
name: macos
194187
runs-on: macos-14
195188
steps:
196189
- uses: actions/checkout@v4
@@ -209,13 +202,12 @@ jobs:
209202
id: create-or-update-unique-issue
210203
uses: ./.github/actions/post-issue
211204
with:
212-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
213-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
205+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
206+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
214207
labels: "C-test-failure"
215208

216209

217210
windows:
218-
name: windows
219211
runs-on: windows-latest
220212
steps:
221213
- uses: actions/checkout@v4
@@ -234,12 +226,11 @@ jobs:
234226
id: create-or-update-unique-issue
235227
uses: ./.github/actions/post-issue
236228
with:
237-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
238-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
229+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
230+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
239231
labels: "C-test-failure"
240232

241233
lint-checks:
242-
name: lint-checks
243234
runs-on: ubuntu-latest
244235
steps:
245236
- uses: actions/checkout@v4
@@ -262,14 +253,13 @@ jobs:
262253
id: create-or-update-unique-issue
263254
uses: ./.github/actions/post-issue
264255
with:
265-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
266-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
256+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} test failed"
257+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
267258
labels: "C-test-failure"
268259

269260

270261
# Builds for other architectures.
271262
build-other:
272-
name: build-other
273263
runs-on: ubuntu-latest
274264
steps:
275265
- uses: actions/checkout@v4
@@ -293,6 +283,6 @@ jobs:
293283
id: create-or-update-unique-issue
294284
uses: ./.github/actions/post-issue
295285
with:
296-
title: "${{ inputs.file_issue_branch }}: nightly test failed"
297-
body: "The nightly ${{ github.job_id }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
286+
title: "${{ inputs.file_issue_branch }}: nightly ${{ github.job }} failed"
287+
body: "The nightly ${{ github.job }} test run failed on ${{ inputs.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
298288
labels: "C-test-failure"

0 commit comments

Comments
 (0)