chore: configure some actions to be skipped for forks

This commit is contained in:
vdovhanych 2024-07-11 10:14:54 +02:00
parent eb1591df35
commit 0058a90ae9
No known key found for this signature in database
GPG Key ID: 31CBC36085A12D92
5 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ permissions:
jobs:
build:
if: github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@ -36,6 +37,7 @@ jobs:
path: ./site
deploy:
if: github.repository == 'juanfont/headscale'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

View File

@ -7,6 +7,7 @@ on:
jobs:
build:
if: github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
steps:

View File

@ -9,6 +9,7 @@ on:
jobs:
goreleaser:
if: github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
steps:
- name: Checkout

View File

@ -6,6 +6,7 @@ on:
jobs:
close-issues:
if: github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
permissions:
issues: write

View File

@ -6,6 +6,7 @@ on:
jobs:
lockfile:
if: github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
steps:
- name: Checkout repository