-
Notifications
You must be signed in to change notification settings - Fork 578
40 lines (39 loc) · 1.18 KB
/
Copy pathrelease-please-now.yml
File metadata and controls
40 lines (39 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Release-Please Now
on:
schedule:
- cron: '21 10 * * 1-4'
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install Ruby 3.3
uses: ruby/setup-ruby@d45b1a4e94b71acab930e56e79c6aa188764e7f9 # v1.316.0
with:
ruby-version: "3.4.10"
- 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}
env:
GITHUB_EVENT_INPUTS_ARGS: ${{ github.event.inputs.args }}