Skip to content

Commit ed1254a

Browse files
skip PR's from forks
1 parent a4c7762 commit ed1254a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/azure-static-web-apps-gray-plant-049754e10.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
destination: ./_site
3636

3737
- name: Build And Deploy
38+
if: github.event.pull_request.head.repo.fork != true
3839
id: builddeploy
3940
uses: Azure/static-web-apps-deploy@v0.0.1-preview
4041
with:
@@ -49,7 +50,7 @@ jobs:
4950
###### End of Repository/Build Configurations ######
5051

5152
close_pull_request_job:
52-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
53+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.head.repo.fork != true
5354
runs-on: ubuntu-latest
5455
name: Close Pull Request Job
5556
steps:

0 commit comments

Comments
 (0)