itamae-plugin-recipe-tig 0.1.5 → 0.1.6

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: 19cda5905789cda399dfaa6dd151dfbef0ff643eb301829d60c2244f1adcd437
4
- data.tar.gz: 4433108e11005d1c663357252907694c50cbb4d99b558d38a0ce91eb4d92d9e6
3
+ metadata.gz: ee1d7cccbb864775a87b42713ec2be3a1340b36bf01e6a29c4f32f262edb36d7
4
+ data.tar.gz: 4f1dbe41a19e85460775cee4adb58633d747da9f1248c2ac0bdfb89240eb7e37
5
5
  SHA512:
6
- metadata.gz: 919ed70ac83d5c8573d39a77066b84b6ecaddbb62726a48cc9ae4daa4ea4a2e2b3fad90eb21186e7b6841df0666afe32e313b849d0639ba5798aeeed5811951d
7
- data.tar.gz: e4c660a4681473e9032329f675a36c2166d288428feb04b8b9225cb7a4ce42b2e76f974efde6babc627ecdc58c19142b1b8dd486a53e5287c559e573f34e15ce
6
+ metadata.gz: 6a988d56a65591c7644998820758ff7cd0a3639ab00828530e2e6ab64905f82f9449932ee4d8707f2aa5bd4d8ec63f5cd1435ff47cfa2134dd8c33456450b250
7
+ data.tar.gz: d9c46818eb0232ff170db8d91bbb83e70dfa17c887871ea03feefc315a4a6ec2fff6e88a89b92549ef7e8e22f8ed4fbb400d4ae31b850e3ca3ad3045d5842954
@@ -0,0 +1,12 @@
1
+ # c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2
+ version: 2
3
+
4
+ updates:
5
+ - package-ecosystem: github-actions
6
+ directory: /
7
+ schedule:
8
+ interval: weekly
9
+ cooldown:
10
+ default-days: 7
11
+ assignees:
12
+ - sue445
@@ -0,0 +1,41 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ if: github.repository == 'sue445/itamae-plugin-recipe-tig'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/itamae-plugin-recipe-tig
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ steps:
20
+ - name: Harden Runner
21
+ uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
22
+ with:
23
+ egress-policy: audit
24
+
25
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
+
27
+ - name: Set up Ruby
28
+ uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
29
+ with:
30
+ bundler-cache: true
31
+ ruby-version: ruby
32
+
33
+ - name: Publish to RubyGems
34
+ uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
+
36
+ - name: Create GitHub release
37
+ run: |
38
+ tag_name="$(git describe --tags --abbrev=0)"
39
+ gh release create "${tag_name}" --verify-tag --generate-notes
40
+ env:
41
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -12,9 +12,6 @@ on:
12
12
  schedule:
13
13
  - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
14
 
15
- env:
16
- CI: "true"
17
-
18
15
  jobs:
19
16
  test:
20
17
  runs-on: ubuntu-latest
@@ -24,35 +21,22 @@ jobs:
24
21
 
25
22
  matrix:
26
23
  ruby:
27
- - 2.3
24
+ - "2.3"
28
25
  image:
29
- - centos:7
30
- - debian:jessie
31
- - debian:stretch
32
- - debian:buster
26
+ - debian:bullseye
27
+ - debian:bookworm
28
+ - debian:trixie
33
29
  - amazonlinux:2
34
30
 
35
31
  steps:
36
- - uses: actions/checkout@v2
32
+ - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
37
33
 
38
- - uses: eregon/use-ruby-action@v1
34
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
39
35
  with:
40
36
  ruby-version: ${{ matrix.ruby }}
37
+ bundler-cache: true
41
38
 
42
- - name: Cache vendor/bundle
43
- uses: actions/cache@v1
44
- id: cache_gem
45
- with:
46
- path: vendor/bundle
47
- key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
48
- restore-keys: |
49
- v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
50
-
51
- - name: bundle update
52
- run: |
53
- set -xe
54
- bundle config path vendor/bundle
55
- bundle update --jobs $(nproc) --retry 3
39
+ - run: bundle update --jobs $(nproc) --retry 3
56
40
 
57
41
  - name: Run Itamae
58
42
  run: |
@@ -69,15 +53,13 @@ jobs:
69
53
  DOCKER_IMAGE: itamae-plugin:latest
70
54
 
71
55
  - name: Slack Notification (not success)
72
- uses: lazy-actions/slatify@master
56
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
73
57
  if: "! success()"
74
58
  continue-on-error: true
75
59
  with:
76
- job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.image) }}
77
- type: ${{ job.status }}
78
- icon_emoji: ":octocat:"
79
- url: ${{ secrets.SLACK_WEBHOOK }}
80
- token: ${{ secrets.GITHUB_TOKEN }}
60
+ status: ${{ job.status }}
61
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
62
+ matrix: ${{ toJson(matrix) }}
81
63
 
82
64
  notify:
83
65
  needs:
@@ -87,12 +69,9 @@ jobs:
87
69
 
88
70
  steps:
89
71
  - name: Slack Notification (success)
90
- uses: lazy-actions/slatify@master
72
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
91
73
  if: always()
92
74
  continue-on-error: true
93
75
  with:
94
- job_name: '*build*'
95
- type: ${{ job.status }}
96
- icon_emoji: ":octocat:"
97
- url: ${{ secrets.SLACK_WEBHOOK }}
98
- token: ${{ secrets.GITHUB_TOKEN }}
76
+ status: ${{ job.status }}
77
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
1
  # Change Log
2
+ ## Unreleased
3
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.6...master)
4
+
5
+ ## [v0.1.6](https://github.com/sue445/itamae-plugin-recipe-tig/releases/tag/v0.1.6) (2025/11/29)
6
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.5...v0.1.6)
7
+
8
+ * Release gem from GitHub Actions
9
+ * https://github.com/sue445/itamae-plugin-recipe-tig/pull/42
10
+
2
11
  ## [v0.1.5](https://github.com/sue445/itamae-plugin-recipe-tig/tree/v0.1.5) (2022/03/31)
3
12
  [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-tig/compare/v0.1.4...v0.1.5)
4
13
 
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [Itamae](https://github.com/itamae-kitchen/itamae) plugin to install [tig](https://github.com/jonas/tig)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-tig.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-tig)
6
- [![Build Status](https://github.com/sue445/itamae-plugin-recipe-tig/workflows/test/badge.svg?branch=master)](https://github.com/sue445/itamae-plugin-recipe-tig/actions?query=workflow%3Atest)
6
+ [![test](https://github.com/sue445/itamae-plugin-recipe-tig/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/itamae-plugin-recipe-tig/actions/workflows/test.yml)
7
7
 
8
8
  ## Installation
9
9
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Tig
5
- VERSION = "0.1.5"
5
+ VERSION = "0.1.6"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-tig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-03-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: itamae
@@ -87,6 +86,8 @@ executables: []
87
86
  extensions: []
88
87
  extra_rdoc_files: []
89
88
  files:
89
+ - ".github/dependabot.yml"
90
+ - ".github/workflows/release_gem.yml"
90
91
  - ".github/workflows/test.yml"
91
92
  - ".github_changelog_generator"
92
93
  - ".gitignore"
@@ -110,7 +111,6 @@ metadata:
110
111
  source_code_uri: https://github.com/sue445/itamae-plugin-recipe-tig
111
112
  changelog_uri: https://github.com/sue445/itamae-plugin-recipe-tig/blob/master/CHANGELOG.md
112
113
  rubygems_mfa_required: 'true'
113
- post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.3.7
129
- signing_key:
128
+ rubygems_version: 3.6.7
130
129
  specification_version: 4
131
130
  summary: Itamae plugin to install tig
132
131
  test_files: []