gha_config 0.22 → 0.23.beta1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e131e9a02772785b75fc3cc808850f94fa87257bd287c1b953a4c86592bf6ba8
4
- data.tar.gz: 84c4ac5ffdace9fc7434d2b254424170c05a40fcbb3b4f9e24c9fb8f83762bea
3
+ metadata.gz: 5a40dd08d619080435933f18a3af9755deb248e9e5b61154363c6c0025d34825
4
+ data.tar.gz: 92b641b92ef4a8df9abf3f02b516bba5f7e0e5faeb3513076774fbe1b52fb043
5
5
  SHA512:
6
- metadata.gz: b95fa77057e1d23e7cd5569229a9d529d61d05239993fc6e37d757e0a69f40ceeab381d0693472ced3fd893ccdad8cb8151af2d6614dde2fd1f9913345db2a5c
7
- data.tar.gz: c26d179468076535587d36cadb09c8064240d4e00f191d25c7140cabad93e7fed502a130c9c85631a4891e949077c22b5c8637ea65107068be8953fff8d99d69
6
+ metadata.gz: 13ca7b74a37c167c2d43eec550d10c46e9bc24d996a24cfbdc65bc959a6d237e1c112609a007d5bf5205bbc5a9d8d33bf2161a9bae5f3f08192534c359a84d81
7
+ data.tar.gz: 388225ab6e85ab7e7c038c8ac0a06179eb0a0bab757e525a0c3367cdcd568ad1466f44e836fa753dc768f064a4a7b177f238873e890e3e18d44132c09f4731ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gha_config (0.21)
4
+ gha_config (0.22)
5
5
 
6
6
  GEM
7
7
  remote: https://flipplib.jfrog.io/flipplib/api/gems/flipp-gems/
@@ -35,4 +35,4 @@ DEPENDENCIES
35
35
  rubocop
36
36
 
37
37
  BUNDLED WITH
38
- 2.2.21
38
+ 2.2.26
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GhaConfig
4
- VERSION = '0.22'
4
+ VERSION = '0.23.beta1'
5
5
  end
@@ -54,17 +54,19 @@ module GhaConfig
54
54
  flipp_global['with']['enable_ssh'] = true
55
55
  end
56
56
  job['steps'].unshift(flipp_global)
57
- checkout = {
58
- 'name' => 'Checkout code',
59
- 'uses' => 'actions/checkout@v2'
60
- }
61
- if config.options['use_submodules']
62
- checkout['with'] = {
63
- 'token' => "${{ secrets.FLIPPCIRCLECIPULLER_REPO_TOKEN }}",
64
- 'submodules' => 'recursive'
57
+ unless job['steps'].any? { |s| s['uses'] == 'actions/checkout@v2'}
58
+ checkout = {
59
+ 'name' => 'Checkout code',
60
+ 'uses' => 'actions/checkout@v2'
65
61
  }
62
+ if config.options['use_submodules']
63
+ checkout['with'] = {
64
+ 'token' => "${{ secrets.FLIPPCIRCLECIPULLER_REPO_TOKEN }}",
65
+ 'submodules' => 'recursive'
66
+ }
67
+ end
68
+ job['steps'].unshift(checkout)
66
69
  end
67
- job['steps'].unshift(checkout)
68
70
  job['needs'] = "[#{job['needs'].join(', ')}]" if job['needs'].is_a?(Array)
69
71
  new_job.merge!(job)
70
72
  output_hash['jobs'][name] = new_job
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gha_config
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.22'
4
+ version: 0.23.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -61,9 +61,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
61
  version: '2.3'
62
62
  required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - ">="
64
+ - - ">"
65
65
  - !ruby/object:Gem::Version
66
- version: '0'
66
+ version: 1.3.1
67
67
  requirements: []
68
68
  rubygems_version: 3.2.21
69
69
  signing_key: