Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Aug 31, 2024
1 parent 03ac610 commit dd11ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/issue_comp_next-release-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
result-encoding: string
script: |
const issue = context.payload.issue;
if (!issue && ${{ inputs.issue_number }}'.trim() === '') {
if (!issue && '${{ inputs.issue_number }}'.trim() === '') {
console.log('Issue number is not provided');
process.exit(0);
}
Expand All @@ -50,7 +50,7 @@ jobs:
retry-exempt-status-codes: 400,401
github-token: ${{ secrets.CI_MACHINE_TOKEN }}
script: |
const issue = context.payload.issue|| await github.rest.issues.get({
const issue = context.payload.issue || await github.rest.issues.get({
issue_number: ${{ inputs.issue_number }},
owner: '${{ github.repository_owner }}',
repo: 'core'
Expand Down

0 comments on commit dd11ec6

Please sign in to comment.