.github/workflows: don't run on forks

This commit is contained in:
Austin Horstman 2024-09-28 12:51:08 -05:00
parent 486b99c22f
commit e394485857
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
if: github.repository == 'Alexays/Waybar'
strategy:
fail-fast: false # don't fail the other jobs if one of the images fails to build
matrix:

View File

@ -9,6 +9,7 @@ on:
jobs:
lockfile:
runs-on: ubuntu-latest
if: github.repository == 'Alexays/Waybar'
steps:
- name: Checkout repository
uses: actions/checkout@v4