File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 - name : Manage regression label
2525 env :
2626 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ IS_REGRESSION : ${{ steps.check_regression.outputs.is_regression }}
28+ ISSUE_NUMBER : ${{ github.event.issue.number }}
29+ REPO : ${{ github.repository }}
2730 run : |
28- if [ "${{ steps.check_regression.outputs.is_regression }} " == "true" ]; then
29- gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }}
31+ if [ "$IS_REGRESSION " == "true" ]; then
32+ gh issue edit "$ISSUE_NUMBER" --add-label "potential-regression" -R "$REPO"
3033 else
31- gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
34+ gh issue edit "$ISSUE_NUMBER" --remove-label "potential-regression" -R "$REPO"
3235 fi
You can’t perform that action at this time.
0 commit comments