diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 20:02:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 20:02:30 +0000 |
commit | 41fe97390ceddf945f3d967b8fdb3de4c66b7dea (patch) | |
tree | 9c8d89a8624828992f06d892cd2f43818ff5dcc8 /lib/learn_gitlab | |
parent | 0804d2dc31052fb45a1efecedc8e06ce9bc32862 (diff) | |
download | gitlab-ce-14.9.0-rc42.tar.gz |
Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42
Diffstat (limited to 'lib/learn_gitlab')
-rw-r--r-- | lib/learn_gitlab/onboarding.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/learn_gitlab/onboarding.rb b/lib/learn_gitlab/onboarding.rb index 38ffa9eb2e6..42415aacbee 100644 --- a/lib/learn_gitlab/onboarding.rb +++ b/lib/learn_gitlab/onboarding.rb @@ -5,19 +5,19 @@ module LearnGitlab include Gitlab::Utils::StrongMemoize ACTION_ISSUE_IDS = { - issue_created: 4, - git_write: 6, pipeline_created: 7, - merge_request_created: 9, - user_added: 8, trial_started: 2, required_mr_approvals_enabled: 11, code_owners_enabled: 10 }.freeze - ACTION_DOC_URLS = { - security_scan_enabled: 'https://docs.gitlab.com/ee/user/application_security/security_dashboard/#gitlab-security-dashboard-security-center-and-vulnerability-reports' - }.freeze + ACTION_PATHS = [ + :issue_created, + :git_write, + :merge_request_created, + :user_added, + :security_scan_enabled + ].freeze def initialize(namespace) @namespace = namespace @@ -49,7 +49,7 @@ module LearnGitlab end def tracked_actions - ACTION_ISSUE_IDS.keys + ACTION_DOC_URLS.keys + ACTION_ISSUE_IDS.keys + ACTION_PATHS end attr_reader :namespace |