Skip to content

Commit

Permalink
Update push_event.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar Khatavkar authored Feb 13, 2024
1 parent 5ed4e7a commit cc5d7ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
script: |
const prNumber = ${{ github.event.number }};
const issue = await github.rest.issues.get({
owner: context.issue.owner,
repo: context.issue.repo,
owner: github.context.repo.owner,
repo: github.context.repo.repo,
issue_number: prNumber,
});
const labelsToRemove = ['PRT-Failed', 'PRT-Passed'];
Expand All @@ -25,8 +25,8 @@ jobs:
await Promise.all(labelsToRemoveFiltered.map(async label => {
await github.rest.issues.removeLabel({
issue_number: prNumber,
owner: context.repo.owner,
repo: context.repo.repo,
owner: github.context.repo.owner,
repo: github.context.repo.repo,
name: label
});
}));
Expand Down

0 comments on commit cc5d7ce

Please sign in to comment.