bard 0.60.0 → 0.62.0

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: 3c445b041aef13bee1cdf19f908b3466b0929c293e22203e8ed283e941466c58
4
- data.tar.gz: 023d509790ce071eeaf444913491d68f804a6be8c537f3ffc6fb86f3e28122fe
3
+ metadata.gz: d24009e6972f214ff02cffed4b23dd3ff8f07f55c6cea8ca8d56e78d57793733
4
+ data.tar.gz: 56b93c510186793a22f86ad5774850cf68f4e267f02a18b1ece70cf1be3fd86a
5
5
  SHA512:
6
- metadata.gz: 0620563e94221dad45f3858c54c1ae24ecd5e2bc58ef19f54b45a66f323b8aff6fad42a1283192e2594701badbfa0687a7859df89f5d61ee04aa8737996020ca
7
- data.tar.gz: d431dff261d6fe7ee217e414e61f5534a20d4aaa8bbab7bddd14d263a371f4a7a916c91681ebc3fa0e7aaee4e8b5df79bce1b8193a18b603e1e7c8d57a9fd9a1
6
+ metadata.gz: 50167a79d3331b5facaccaa4bb68c1426c1ffee6f8f49eeb44361d23239aac705365d0c99485146473ca33712a93a7ee57d6585db4e8f558f09928d8a8d79a60
7
+ data.tar.gz: 25dc69a864a834cb7624a6fdf6b5df017a3fc038db9fd0fb2815bb34ce334a584f49ffbb6c63b2d1f425fc1b71509b7a658f198674aff64796c4bc6fd86a85c7
@@ -0,0 +1,17 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ allow:
8
+ - dependency-type: "all"
9
+ rebase-strategy: "disabled"
10
+ versioning-strategy: "lockfile-only"
11
+ groups:
12
+ semver_updates:
13
+ applies-to: "version-updates"
14
+ update-types:
15
+ - "minor"
16
+ - "patch"
17
+
@@ -6,7 +6,7 @@ on:
6
6
  - cron: '0 0 */3 * *'
7
7
  jobs:
8
8
  build_ruby_cache:
9
- runs-on: ubuntu-20.04
9
+ runs-on: ubuntu-22.04
10
10
  steps:
11
11
  - uses: actions/checkout@v3
12
12
  - uses: ruby/setup-ruby@v1
@@ -1,15 +1,18 @@
1
1
  name: ci
2
2
  on:
3
- pull_request:
3
+ pull_request_target:
4
4
  workflow_dispatch:
5
5
  inputs:
6
6
  git-ref:
7
- description: Git Ref
8
- default: master
9
7
  required: true
8
+
9
+ permissions:
10
+ contents: write
11
+ pull-requests: write
12
+
10
13
  jobs:
11
14
  test:
12
- runs-on: ubuntu-20.04-16core
15
+ runs-on: ubuntu-22.04-16core
13
16
  env:
14
17
  RAILS_ENV: test
15
18
  RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
@@ -21,7 +24,7 @@ jobs:
21
24
  - name: Checkout code
22
25
  uses: actions/checkout@v3
23
26
  with:
24
- ref: ${{ github.event.inputs.git-ref }}
27
+ ref: ${{ github.event.inputs.git-ref || github.event.pull_request.head.sha }}
25
28
  - name: Install Ruby and gems
26
29
  uses: ruby/setup-ruby@v1
27
30
  with:
@@ -31,3 +34,29 @@ jobs:
31
34
  - name: Run tests
32
35
  run: bin/ci
33
36
 
37
+ autodeploy-dependabot-prs:
38
+ needs: test
39
+ runs-on: ubuntu-22.04
40
+ if: github.actor == 'dependabot[bot]'
41
+ steps:
42
+ - name: Merge Dependabot PR
43
+ run: gh pr merge --auto --rebase "$PR_URL"
44
+ env:
45
+ PR_URL: ${{github.event.pull_request.html_url}}
46
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
47
+ - uses: actions/checkout@v3
48
+ - uses: ruby/setup-ruby@v1
49
+ with:
50
+ bundler-cache: true
51
+ - name: Install SSH key
52
+ uses: shimataro/ssh-key-action@v2
53
+ with:
54
+ key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
55
+ known_hosts: unnecessary
56
+ config: |
57
+ Host *
58
+ StrictHostKeyChecking no
59
+ UserKnownHostsFile=/dev/null
60
+ - name: deploy
61
+ run: bundle exec bard deploy --skip-ci
62
+
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.60.0"
2
+ VERSION = "0.62.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-03 00:00:00.000000000 Z
11
+ date: 2024-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -138,9 +138,9 @@ files:
138
138
  - features/support/env.rb
139
139
  - features/support/grit_ext.rb
140
140
  - features/support/io.rb
141
+ - install_files/.github/dependabot.yml
141
142
  - install_files/.github/workflows/cache-ci.yml
142
143
  - install_files/.github/workflows/ci.yml
143
- - install_files/.github/workflows/deploy.yml
144
144
  - install_files/apt_dependencies.rb
145
145
  - install_files/ci
146
146
  - install_files/setup
@@ -1,26 +0,0 @@
1
- name: deploy
2
- on:
3
- pull_request:
4
- types:
5
- - closed
6
- jobs:
7
- deploy:
8
- if: github.event.pull_request.merged == true
9
- runs-on: ubuntu-20.04
10
- steps:
11
- - uses: actions/checkout@v3
12
- - uses: ruby/setup-ruby@v1
13
- with:
14
- bundler-cache: true
15
- - name: Install SSH key
16
- uses: shimataro/ssh-key-action@v2
17
- with:
18
- key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
19
- known_hosts: unnecessary
20
- config: |
21
- Host *
22
- StrictHostKeyChecking no
23
- UserKnownHostsFile=/dev/null
24
- - name: deploy
25
- run: bundle exec bard deploy --skip-ci
26
-