Skip to content

Commit

Permalink
ci: update the script for cherry-pick with trim space
Browse files Browse the repository at this point in the history
  • Loading branch information
wenytang-ms committed Dec 12, 2024
1 parent c548821 commit 7752902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} # Use a PAT with the required permissions
script: |
const currentTarget = context.payload.pull_request.base.ref;
const latestVSCRelease = '${{ steps.get-latest-release.outputs.latest_vsc_release }}';
const latestVSRelease = '${{ steps.get-latest-release.outputs.latest_vs_release }}';
const latestVSCRelease = '${{ steps.get-latest-release.outputs.latest_vsc_release }}'.trim();
const latestVSRelease = '${{ steps.get-latest-release.outputs.latest_vs_release }}'.trim();
const prNumber = context.payload.pull_request.number;
const prTitle = context.payload.pull_request.title;
const prAuthor = context.payload.pull_request.user.login;
Expand Down

0 comments on commit 7752902

Please sign in to comment.