Skip to content

[6.3.0] Please ignore. This is for Automation testing #54

[6.3.0] Please ignore. This is for Automation testing

[6.3.0] Please ignore. This is for Automation testing #54

name: cherry-picker-on-close
on:
pull_request_target:
types: [closed]
issues:
types: [closed]
env:
GH_TOKEN: ${{ secrets.BAZEL_IO_TOKEN }}
jobs:
cherry-picker-on-closed-pr:
# if: github.event.sender.login == 'copybara-service[bot]'
# if: contains(github.event, "pull_request")
if: github.event.pull_request
runs-on: ubuntu-latest
steps:
- name: Logging github event
run: echo '${{ toJSON(github.event) }}'
- name: Run cherrypicker on close
uses: iancha1992/continuous-integration/actions/cherry_picker@feature-cherrypick-phase2
with:
triggered-on: closed
pr-number: ${{ github.event.number }}
is-prod: False
cherry-picker-on-closed-issue:
# if: github.event.sender.login == 'copybara-service[bot]'
# if: contains(github.event, "issue")
if: github.event.issue
runs-on: ubuntu-latest
steps:
- name: Logging github event
run: echo '${{ toJSON(github.event) }}'
- name: Run cherrypicker on close
uses: iancha1992/continuous-integration/actions/cherry_picker@feature-cherrypick-phase2
with:
triggered-on: closed
pr-number: ${{ github.event.issue.number }}
is-prod: False