Skip to content

Commit 1fef415

Browse files
kaylareopellemwear
andauthored
ci: Add weekly release request (#1677)
opentelemetry-ruby-contrib uses this workflow to open a PR to release any gems with changes just before the SIG meeting. This may help keep core releases up to date with the repository. Co-authored-by: Matthew Wear <[email protected]>
1 parent bf3ce24 commit 1fef415

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Open release request - Weekly
2+
3+
on:
4+
schedule:
5+
- cron: "0 15 * * 2"
6+
7+
jobs:
8+
release-request:
9+
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby' }}
10+
env:
11+
ruby_version: "3.0"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Install Ruby ${{ env.ruby_version }}
15+
uses: ruby/[email protected]
16+
with:
17+
ruby-version: ${{ env.ruby_version }}
18+
- name: Checkout repo
19+
uses: actions/checkout@v4
20+
- name: Install Toys
21+
run: "gem install --no-document toys -v 0.15.5"
22+
- name: Open release pull request
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
run: |
26+
toys release request --yes --verbose \
27+
"--release-ref=${{ github.ref }}" \
28+
< /dev/null

0 commit comments

Comments
 (0)