1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-07 01:09:45 +02:00

Move if to job level so that the entire thing doesn't run in forks

This commit is contained in:
Stefan Haller
2025-07-06 10:51:46 +02:00
parent 80da133a1a
commit 48c3f347ce

View File

@ -7,6 +7,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.repository == 'jesseduffield/lazygit' }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
@ -16,7 +17,6 @@ jobs:
with:
token: ${{ secrets.SPONSORS_TOKEN }}
file: "README.md"
if: ${{ github.repository == 'jesseduffield/lazygit' }}
- name: Create Pull Request 🚀
uses: peter-evans/create-pull-request@v6