Skip to content

abcdefghiklmnopqrstuvwxyz #53

abcdefghiklmnopqrstuvwxyz

abcdefghiklmnopqrstuvwxyz #53

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: "pull_request" in github.event
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: "issue" in github.event
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