Skip to content

Commit 39c01a4

Browse files
authored
Merge pull request #33 from simplybusiness/let-silversmiths-manage-dobby-version
This uses a shared workflow file
2 parents 1193caf + 4fe1dd4 commit 39c01a4

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

.github/workflows/dobby-actions.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,7 @@ permissions:
77
contents: read
88
jobs:
99
pr_commented:
10-
runs-on: ubuntu-20.04
11-
if: startsWith(github.event.comment.body, '/dobby')
12-
env:
13-
BUNDLE_WITHOUT: "development:test"
14-
steps:
15-
- name: Checkout action
16-
uses: actions/checkout@v2
17-
with:
18-
repository: 'simplybusiness/dobby'
19-
ref: 'v3.0.0'
20-
- name: Set up ruby
21-
uses: ruby/setup-ruby@v1
22-
with:
23-
bundler-cache: true
24-
- name: Bump version
25-
uses: simplybusiness/dobby@v3.0.0
26-
env:
27-
DOBBY_APP_ID: ${{ secrets.DOBBY_APP_ID }}
28-
DOBBY_PRIVATE_KEY: ${{ secrets.DOBBY_PRIVATE_KEY }}
29-
VERSION_FILE_PATH: lib/rulezilla/version.rb
10+
uses: simplybusiness/github-action-reusable-workflows/.github/workflows/dobby.yaml@v1
11+
with:
12+
version_file_path: ./lib/rulezilla/version.rb
13+
secrets: inherit

lib/rulezilla/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Rulezilla
4-
VERSION = '0.4.1'
4+
VERSION = '0.4.2'
55
end

0 commit comments

Comments
 (0)