Skip to content

Commit

Permalink
Don't auto build on fork PR
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed May 8, 2024
1 parent 0d3f245 commit 6d5955a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ jobs:
- run: npm i && npm i -g typescript && rm -rdf ./FlowPlugins && tsc -v && tsc

- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ github.event.pull_request.head.repo.full_name == 'org/repo' }}
with:
commit_message: Apply auto-build changes
commit_message: Apply auto-build changes

- run: (git diff --quiet HEAD -- 2>/dev/null && echo "No uncommitted changes" || (echo "Error: Uncommitted changes found." && exit 1))

0 comments on commit 6d5955a

Please sign in to comment.