File tree 4 files changed +28
-4
lines changed
modules/repository-base/base/.github/workflows 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 78
78
});
79
79
80
80
if (pulls.data.length < 1) {
81
- await github.rest.pulls.create({
81
+ const result = await github.rest.pulls.create({
82
82
title: '[CI] Bump base image to latest available version on ' + process.env.SOURCE_BRANCH,
83
83
owner: owner,
84
84
repo: repo,
88
88
'This PR is auto-generated to bump the base images used for our OCI builds.',
89
89
].join('\n'),
90
90
});
91
+ await github.rest.issues.addLabels({
92
+ owner,
93
+ repo,
94
+ issue_number: result.data.number,
95
+ labels: ['skip-review']
96
+ });
91
97
}
Original file line number Diff line number Diff line change 70
70
});
71
71
72
72
if (pulls.data.length < 1) {
73
- await github.rest.pulls.create({
73
+ const result = await github.rest.pulls.create({
74
74
title: '[CI] Bump vendored Go version to latest patch version on ' + process.env.SOURCE_BRANCH,
75
75
owner: owner,
76
76
repo: repo,
80
80
'This PR is auto-generated to bump the vendored go version in the tools module to the latest available patch version',
81
81
].join('\n'),
82
82
});
83
+ await github.rest.issues.addLabels({
84
+ owner,
85
+ repo,
86
+ issue_number: result.data.number,
87
+ labels: ['skip-review']
88
+ });
83
89
}
Original file line number Diff line number Diff line change 78
78
});
79
79
80
80
if (pulls.data.length < 1) {
81
- await github.rest.pulls.create({
81
+ const result = await github.rest.pulls.create({
82
82
title: '[CI] Bump kind images to latest available version on ' + process.env.SOURCE_BRANCH,
83
83
owner: owner,
84
84
repo: repo,
88
88
'This PR is auto-generated to bump the kind images used by our tests',
89
89
].join('\n'),
90
90
});
91
+ await github.rest.issues.addLabels({
92
+ owner,
93
+ repo,
94
+ issue_number: result.data.number,
95
+ labels: ['skip-review']
96
+ });
91
97
}
Original file line number Diff line number Diff line change 80
80
});
81
81
82
82
if (pulls.data.length < 1) {
83
- await github.rest.pulls.create({
83
+ const result = await github.rest.pulls.create({
84
84
title: '[CI] Merge ' + process.env.SELF_UPGRADE_BRANCH + ' into ' + process.env.SOURCE_BRANCH,
85
85
owner: owner,
86
86
repo: repo,
90
90
'This PR is auto-generated to bump the Makefile modules.',
91
91
].join('\n'),
92
92
});
93
+ await github.rest.issues.addLabels({
94
+ owner,
95
+ repo,
96
+ issue_number: result.data.number,
97
+ labels: ['skip-review']
98
+ });
93
99
}
You can’t perform that action at this time.
0 commit comments