Skip to content

Commit

Permalink
Updating github workflow to authorize people for PRs on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
A1shK committed Jan 5, 2025
1 parent 38afbc0 commit 247b7bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:
repo,
pull_number,
});
return branch;
if(fork){
return "pull/" + pull_number;
} else {
return branch;
}
- name: Not a collaborator
if: ${{ failure() }}
uses: actions/github-script@v6
Expand Down

0 comments on commit 247b7bd

Please sign in to comment.