Skip to content

fix: temporary change in postprocessor to require ostruct for test he… #62

fix: temporary change in postprocessor to require ostruct for test he…

fix: temporary change in postprocessor to require ostruct for test he… #62

name: Tag OwlBot Postprocessor Release
on:
push:
branches: [main]
paths: 'owlbot-postprocessor/**'
workflow_dispatch:
jobs:
github-release:
if: ${{ github.repository == 'googleapis/ruby-common-tools' }}
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_PLEASE_DISABLE: ${{ secrets.RELEASE_PLEASE_DISABLE }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install NodeJS 16.x
uses: actions/setup-node@v4
with:
node-version: "16.x"
- name: Install tools
run: "npm install release-please"
- name: Execute
shell: bash
run: |
if [ -z "$RELEASE_PLEASE_DISABLE" ]; then
npx release-please github-release \
--repo-url=googleapis/ruby-common-tools \
--path=owlbot-postprocessor \
--token=$GITHUB_TOKEN
fi