File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Bump Ruby Bundled Version
3
+
4
+ on :
5
+ workflow_dispatch :
6
+ pull_request :
7
+ paths :
8
+ - ' .ruby-version'
9
+
10
+ permissions :
11
+ contents : " write"
12
+ pull-requests : " write"
13
+
14
+ jobs :
15
+ bump_ruby :
16
+ runs-on : " ubuntu-latest"
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v4
20
+ - uses : ruby/setup-ruby@v1
21
+ with :
22
+ bundler-cache : false
23
+ - name : Update Gemfile.lock
24
+ run : |
25
+ bundle config --local deployment false
26
+ bundle update --ruby
27
+ - name : Commit changes
28
+ run : |
29
+ git config --global user.name "treezio"
30
+ git config --global user.email "[email protected] "
31
+ git add Gemfile.lock
32
+ git commit -m "Update Gemfile.lock with new Ruby version" || echo "No changes to commit"
33
+ - name : Push changes
34
+
35
+ with :
36
+ github_token : ${{ secrets.GITHUB_TOKEN }}
37
+ branch : ${{ github.head_ref }}
38
+ force : true
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Updatecli
3
+
4
+ on :
5
+ workflow_dispatch :
6
+ schedule :
7
+ # Run At 01:00 on first day-of-month.
8
+ - cron : ' 0 1 1 * *'
9
+
10
+ permissions :
11
+ contents : " write"
12
+ pull-requests : " write"
13
+
14
+ jobs :
15
+ updatecli :
16
+ runs-on : " ubuntu-latest"
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v2
20
+
21
+ - name : Install Updatecli in the runner
22
+ uses : updatecli/updatecli-action@v2
23
+
24
+ - name : Run Updatecli in apply mode
25
+ run : |
26
+ shopt -s globstar
27
+ updatecli apply --config updatecli/updatecli.d --values updatecli/values.yaml
28
+ env :
29
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments