diff --git a/README.md b/README.md index 35c9154a..417ed8c5 100644 --- a/README.md +++ b/README.md @@ -317,6 +317,9 @@ repository: # Default: `false` delete_branch_on_merge: true + # Whether to archive this repository. false will unarchive a previously archived repository. + archived: false + # The following attributes are applied to any repo within the org # So if a repo is not listed above is created or edited # The app will apply the following settings to it diff --git a/lib/plugins/repository.js b/lib/plugins/repository.js index 9883b490..1674ed0e 100644 --- a/lib/plugins/repository.js +++ b/lib/plugins/repository.js @@ -16,7 +16,6 @@ const ignorableFields = [ 'watchers_count', 'language', 'forks_count', - 'archived', 'disabled', 'open_issues_count', 'license', @@ -254,7 +253,7 @@ module.exports = class Repository { resArray.push((new NopCommand(this.constructor.name, this.repo, null, `no need to update security for ${repoData.name}`))) return Promise.resolve(resArray) } - } + } } updateAutomatedSecurityFixes(repoData, resArray) { @@ -289,4 +288,4 @@ module.exports = class Repository { } } } -} \ No newline at end of file +}