Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr action12 #120

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ jobs:
# if: ${{ matrix.version }} != ${{ github.base_ref }}
with:
ref: ${{ matrix.version }}
- name: Debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo ${{ matrix.version }}, ${{ github.base_ref }}, $GITHUB_SHA. ${{ github.event.pull_request.user.login }}
echo $GITHUB_TOKEN
echo ${{ secrets.GITHUB_TOKEN }}
- name: Cherry pick and create PR
# if: ${{ matrix.version }} != ${{ github.base_ref }}
env:
Expand All @@ -54,6 +61,11 @@ jobs:
cherry-pick
reviewers: |
${{ github.event.pull_request.user.login }}
token: ${{ secrets.GITHUB_TOKEN }}
cherry-pick-branch: auto_created_${{ matrix.version }}_$GITHUB_SHA
title: '[cherry-pick to ${{ matrix.version }} from ${{ github.base_ref }}] {old_title}'
body: 'Cherry picking #{old_pull_request_id} onto this branch'


# - name: create branch
# if: ${{ matrix.version }} != ${{ github.base_ref }}
Expand Down
Loading