Skip to content

Commit

Permalink
Merge pull request #663 from OffchainLabs/fix-403-on-contributions-fr…
Browse files Browse the repository at this point in the history
…om-forks

Fix 403 error on contributions from forks
  • Loading branch information
symbolpunk authored Oct 11, 2023
2 parents 83da993 + 7d5eebe commit c2ff67a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
echo "format-check-result=$?" >> $GITHUB_OUTPUT
- name: Output formatting error
if: steps.prettier-check.outputs.format-check-result == 1
if: |
steps.prettier-check.outputs.format-check-result == 1 &&
github.event.pull_request.head.repo.full_name == github.repository
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

1 comment on commit c2ff67a

@vercel
Copy link

@vercel vercel bot commented on c2ff67a Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.