Release-Please Now #1429
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release-Please Now | |
| on: | |
| schedule: | |
| - cron: '21 10 * * *' | |
| workflow_dispatch: | |
| inputs: | |
| args: | |
| description: "Extra command line arguments." | |
| required: false | |
| jobs: | |
| add-release-please-label: | |
| if: ${{ github.repository == 'googleapis/google-cloud-ruby' }} | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_PLEASE_DISABLE: ${{ secrets.RELEASE_PLEASE_DISABLE }} | |
| permissions: | |
| contents: read | |
| packages: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Install Ruby 3.3 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| - name: Install tools | |
| run: | | |
| gem install --no-document toys | |
| - name: execute | |
| run: | | |
| toys release label-please -v \ | |
| --github-event-name=${{ github.event_name }} \ | |
| ${{ github.event.inputs.args }} |