Skip to content

chore: bump actions/checkout from 4.2.2 to 6.0.0 (#1815) #970

chore: bump actions/checkout from 4.2.2 to 6.0.0 (#1815)

chore: bump actions/checkout from 4.2.2 to 6.0.0 (#1815) #970

name: "[release hook] Update open releases"
on:
push:
branches:
- main
permissions:
contents: read
jobs:
release-update-open-requests:
permissions:
contents: write # required for updating releases
pull-requests: write # required for updating release PRs
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
RUBY_VERSION: "3.2"
runs-on: ubuntu-latest
steps:
- name: Install Ruby ${{ env.RUBY_VERSION }}
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Checkout repo
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Install Toys
run: "gem install --no-document toys -v 0.15.5"
- name: Update open releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
toys release _onpush --verbose \
< /dev/null