Skip to content

Commit

Permalink
Test cherry-pick for bp3 modify
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Jan 29, 2025
1 parent 57d05a3 commit ae722d2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/cp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,17 @@ jobs:
- name: Close issue
run: |
issue_title=$(gh issue view ${{ inputs.issue }} --repo ${{ inputs.org }}/{{ inputs.repo }} --json title -q '.title')
if [[ "$issue_title" != "cprelease" || "${{ inputs.repo }}" != "airs-bp3" ]]; then
echo "DEBUG: inputs.issue=${{ inputs.issue }}"
echo "DEBUG: inputs.org=${{ inputs.org }}"
echo "DEBUG: inputs.repo=${{ inputs.repo }}"
issue_title=$(gh issue view "$issue" --repo "$org/$repo" --json title -q '.title')
echo "DEBUG: issue_title=$issue_title"
if [[ "$issue_title" != "cprelease" || "$repo" != "airs-bp3" ]]; then
curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/close-issue.sh | bash
fi
fi
env:
GH_TOKEN: ${{ secrets.git_token }}
org: ${{ inputs.org }}
Expand Down

0 comments on commit ae722d2

Please sign in to comment.