abcdefghiklmnopqrstuvwxyz #53
This file contains 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: 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 |