Skip to content

Commit 48c3f34

Browse files
committed
Move if to job level so that the entire thing doesn't run in forks
1 parent 80da133 commit 48c3f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sponsors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
if: ${{ github.repository == 'jesseduffield/lazygit' }}
1011
steps:
1112
- name: Checkout 🛎️
1213
uses: actions/checkout@v4
@@ -16,7 +17,6 @@ jobs:
1617
with:
1718
token: ${{ secrets.SPONSORS_TOKEN }}
1819
file: "README.md"
19-
if: ${{ github.repository == 'jesseduffield/lazygit' }}
2020

2121
- name: Create Pull Request 🚀
2222
uses: peter-evans/create-pull-request@v6

0 commit comments

Comments
 (0)