Skip to content

Commit

Permalink
ci: Add weekly release request (open-telemetry#1677)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kaylareopelle and mwear authored Aug 23, 2024
1 parent bf3ce24 commit 1fef415
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release-request-weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Open release request - Weekly

on:
schedule:
- cron: "0 15 * * 2"

jobs:
release-request:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby' }}
env:
ruby_version: "3.0"
runs-on: ubuntu-latest
steps:
- name: Install Ruby ${{ env.ruby_version }}
uses: ruby/[email protected]
with:
ruby-version: ${{ env.ruby_version }}
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Toys
run: "gem install --no-document toys -v 0.15.5"
- name: Open release pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
toys release request --yes --verbose \
"--release-ref=${{ github.ref }}" \
< /dev/null

0 comments on commit 1fef415

Please sign in to comment.