debian-mirror-gitlab/app/models/concerns/runners_token_prefixable.rb

9 lines
303 B
Ruby
Raw Normal View History

2022-04-01 21:47:47 +05:30
# frozen_string_literal: true
module RunnersTokenPrefixable
# Prefix for runners_token which can be used to invalidate existing tokens.
# The value chosen here is GR (for Gitlab Runner) combined with the rotation
# date (20220225) decimal to hex encoded.
RUNNERS_TOKEN_PREFIX = 'GR1348941'
end