Skip to content

Commit

Permalink
ci: Setup Weekly Releases (#949)
Browse files Browse the repository at this point in the history
This job will create a release request every week at least one hour before or during the Ruby SIG.

This will ensure are aware of any pending releases during the SIG meeting and choose to submit a release.
  • Loading branch information
arielvalentin authored Apr 30, 2024
1 parent 3aac643 commit 74022df
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: Weekly release request

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

jobs:
release-request:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
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 74022df

Please sign in to comment.