Add fleet-release approval for new gitops action repo (#11818)
This commit is contained in:
@@ -30,6 +30,7 @@ module.exports = {
|
||||
|
||||
require('assert')(sails.config.custom.githubRepoDRIByPath);
|
||||
require('assert')(sails.config.custom.confidentialGithubRepoDRIByPath);
|
||||
require('assert')(sails.config.custom.fleetMdmGitopsGithubRepoDRIByPath);
|
||||
require('assert')(sails.config.custom.githubAccessToken);
|
||||
|
||||
let DRI_BY_PATH = sails.config.custom.githubRepoDRIByPath;
|
||||
@@ -38,6 +39,10 @@ module.exports = {
|
||||
DRI_BY_PATH = sails.config.custom.confidentialGithubRepoDRIByPath;
|
||||
}
|
||||
|
||||
if (repo === 'fleet-mdm-gitops') {
|
||||
DRI_BY_PATH = sails.config.custom.fleetMdmGitopsGithubRepoDRIByPath;
|
||||
}
|
||||
|
||||
let owner = 'fleetdm';
|
||||
let baseHeaders = {
|
||||
'User-Agent': 'Fleet auto-approve',
|
||||
|
||||
Vendored
+4
@@ -163,6 +163,10 @@ module.exports.custom = {
|
||||
|
||||
},
|
||||
|
||||
fleetMdmGitopsGithubRepoDRIByPath: {
|
||||
'/': ['lukeheath']
|
||||
},
|
||||
|
||||
// The version of osquery to use when generating schema docs
|
||||
// (both in Fleet's query console and on fleetdm.com)
|
||||
versionOfOsquerySchemaToUseWhenGeneratingDocumentation: '5.8.1',
|
||||
|
||||
Reference in New Issue
Block a user