Add fleet-release approval for new gitops action repo (#11818)

This commit is contained in:
Luke Heath
2023-05-30 11:27:39 -05:00
committed by GitHub
parent e9498d44ab
commit 78d4b04f04
2 changed files with 9 additions and 0 deletions
@@ -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',
+4
View File
@@ -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',