gha_config 0.13 → 0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1b2cbe1be30f32bf1f88237e349b2a1e0ae2571df8e71c2d0a05c0a4c35e3d0
4
- data.tar.gz: c3097850f7b446ba3e7060b190ca429877e6225b405b6f59cb7046743a915b76
3
+ metadata.gz: cb2d82c82325e3c26d5f4163f8eada040efa9060761ea1aa815645be44644326
4
+ data.tar.gz: 884c6e758132c49edb32aa64b438c41f9647782f3949ebe5e034a64e1d281176
5
5
  SHA512:
6
- metadata.gz: a3cb5333bfe9372ba143fc30bc39a20ff7baea723a0dfa2fcf869a2c9182c16deb3f26e3151dc99b53cdbbc8886e0ce1db40e91d53ed169d4a6c263a2821de49
7
- data.tar.gz: c927252af563c8daf8abd1f656cf61e13adedaf80e1d1c94a17dbad47aa9b7ffb12313a51a36be433f09c74a28d8e78e42ebfa354ae852128da3f74a22902114
6
+ metadata.gz: d086bec6a7a35df73466318ea33866ec1d1997353ab16d59e560aede723da1ea78e0f11c444b8730550287463a6fa34731ebc5b896b88bf1dca97f2d8c85744b
7
+ data.tar.gz: a86fb656b87c140425c7a735c00679815fe101f58741f066f29457ae7a3a4091be60edab580c6bd46840ef3c56ccbf38b51f7007346611dd060b4c718832bd57
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.15] - 2021-07-27
9
+ - Fix bug where defaults are not given (uses [] instead of {})
10
+
11
+ ## [0.14] - 2021-07-22
12
+ - Update global action to v0.4
13
+
8
14
  ## [0.13] - 2021-07-19
9
15
  - Fixes related to global action
10
16
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gha_config (0.12)
4
+ gha_config (0.14)
5
5
 
6
6
  GEM
7
7
  remote: https://flipplib.jfrog.io/flipplib/api/gems/flipp-gems/
data/README.md CHANGED
@@ -33,7 +33,7 @@ on:
33
33
  - master
34
34
  - develop
35
35
 
36
- defaults_:
36
+ _defaults_:
37
37
  _container_:
38
38
  image: ghcr.io/wishabi/ci-build-environment:ruby-3.0-buster-node
39
39
  credentials:
@@ -7,7 +7,7 @@ module GhaConfig
7
7
  input.gsub!(/(^|\n)on:/, %(\n"on":))
8
8
  hash = YAML.safe_load(input)
9
9
  config = GhaConfig::Config.new
10
- config.defaults = hash.delete('_defaults_') || []
10
+ config.defaults = hash.delete('_defaults_') || {}
11
11
  config.env = hash.delete('env') || {}
12
12
 
13
13
  hash['jobs'] = replace_defaults(config, hash['jobs'])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GhaConfig
4
- VERSION = '0.13'
4
+ VERSION = '0.15'
5
5
  end
@@ -35,7 +35,7 @@ module GhaConfig
35
35
  job['runs-on'] = '[ubuntu, runner-fleet]'
36
36
  job['steps'].unshift({
37
37
  'name' => 'Flipp global',
38
- 'uses' => 'wishabi/github-actions@v0.3',
38
+ 'uses' => 'wishabi/github-actions@v0.4',
39
39
  'env' => {
40
40
  'SLACK_BOT_TOKEN' => "${{ secrets.SLACK_BOT_TOKEN }}"
41
41
  },
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.13'
4
+ version: '0.15'
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-07-19 00:00:00.000000000 Z
11
+ date: 2021-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop