ruboty-qiita-github 0.3.1 → 0.3.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 428947cc3bc45e068621e716700bfdd3794c4d5bea4e3953484c1fdda04d9c1f
|
4
|
+
data.tar.gz: c5c4a90307f58c85f84b1d27cb087761a9cb195db61b361e006626ebe10cb13c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6290a0ec069f6adc266ddbfeb0a163f14c879174a9d025c02be06a939fc1fef750be03b59aaef7d5192481b6272f22e4fc3699de6f84df8f4904859e2fa64f1
|
7
|
+
data.tar.gz: 0f8306a079bd04e0a92845f661d9ae2509d22a43a15dc8675f0e799579c20f3512d8295121641ef47418760aa70bd1d1de4eb19590dfbac284d93cc2e7e6425c
|
data/.github/workflows/test.yml
CHANGED
@@ -19,7 +19,7 @@ jobs:
|
|
19
19
|
runs-on: "ubuntu-latest"
|
20
20
|
continue-on-error: false
|
21
21
|
steps:
|
22
|
-
- uses: actions/checkout@
|
22
|
+
- uses: actions/checkout@v4
|
23
23
|
- uses: ruby/setup-ruby@v1
|
24
24
|
with:
|
25
25
|
ruby-version: ${{ matrix.ruby }}
|
@@ -29,7 +29,7 @@ jobs:
|
|
29
29
|
rubocop:
|
30
30
|
runs-on: "ubuntu-latest"
|
31
31
|
steps:
|
32
|
-
- uses: actions/checkout@
|
32
|
+
- uses: actions/checkout@v4
|
33
33
|
- uses: ruby/setup-ruby@v1
|
34
34
|
with:
|
35
35
|
ruby-version: "3.1"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
+
## 0.3.3
|
4
|
+
- Bump actions/checkout from 3 to 4
|
5
|
+
- Enable to change after merge custom message
|
6
|
+
|
7
|
+
## 0.3.2
|
8
|
+
- Allow space in merge command
|
9
|
+
- Send message when all exceptions
|
10
|
+
|
3
11
|
## 0.3.1
|
4
12
|
- Enable to change migration warning message
|
5
13
|
|
@@ -8,12 +8,23 @@ module Ruboty
|
|
8
8
|
|
9
9
|
def close
|
10
10
|
request
|
11
|
-
|
11
|
+
after_merge_message
|
12
12
|
end
|
13
13
|
|
14
14
|
def request
|
15
15
|
client.merge_pull_request(repository, issue_number)
|
16
16
|
end
|
17
|
+
|
18
|
+
def after_merge_message
|
19
|
+
message.reply("Merged #{issue.html_url}")
|
20
|
+
|
21
|
+
custom_message = ENV.fetch('AFTER_MERGE_MESSAGE', nil)
|
22
|
+
target_repository = ENV.fetch('AFTER_MERGE_MESSAGE_TARGET_REPOSITORY', '')
|
23
|
+
|
24
|
+
return unless (repository == target_repository) && custom_message
|
25
|
+
|
26
|
+
message.reply(custom_message)
|
27
|
+
end
|
17
28
|
end
|
18
29
|
end
|
19
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-qiita-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|