Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonDev07 committed Sep 23, 2024
1 parent 1b54480 commit 6200622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const { context, github } = require('@actions/github');
const { owner, repo } = context.repo;
const pull_request = context.payload.pull_request;
const github = require('@actions/github');
const { owner, repo } = github.context.repo;
const pull_request = github.context.payload.pull_request;
if (pull_request) {
await github.repos.createCommitStatus({
Expand Down

0 comments on commit 6200622

Please sign in to comment.