build: only run the periodic build jobs in the syncthing org (#10675)

This commit is contained in:
Jakob Borg
2026-05-01 05:09:14 +00:00
committed by GitHub
parent 774aa11795
commit 1919c89de4
6 changed files with 6 additions and 24 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ permissions:
jobs:
docker-syncthing:
name: Build and push Docker images
if: github.repository == 'syncthing/syncthing'
if: github.repository_owner == 'syncthing'
runs-on: ubuntu-latest
environment: docker
strategy:
-21
View File
@@ -1,21 +0,0 @@
name: Build Syncthing (Nightly)
on:
schedule:
# Run nightly build at 05:00 UTC
- cron: '00 05 * * *'
workflow_dispatch:
permissions:
contents: write
packages: write
artifact-metadata: write
attestations: write
id-token: write
jobs:
build-syncthing:
uses: ./.github/workflows/build-syncthing.yaml
# if we only want nightlies to run for specific users:
# if: contains(fromJSON('["syncthing", "calmh"]'), github.repository_owner)
secrets: inherit
+2 -1
View File
@@ -8,8 +8,9 @@ on:
jobs:
run-recommendation:
runs-on: ubuntu-latest
name: Check for a recommendation
if: github.repository_owner == 'syncthing'
runs-on: ubuntu-latest
steps:
- uses: docker://ghcr.io/calmh/github-org-members:latest
+1
View File
@@ -20,6 +20,7 @@ jobs:
labels:
name: Set labels
if: github.repository_owner == 'syncthing'
runs-on: ubuntu-latest
steps:
- uses: srvaroa/labeler@9c29ad1ef33d169f9ef33c52722faf47a566bcf3 # v1
+1
View File
@@ -12,6 +12,7 @@ permissions:
jobs:
create-release-tag:
name: Create release tag
if: github.repository_owner == 'syncthing'
runs-on: ubuntu-latest
environment: release
steps:
+1 -1
View File
@@ -8,9 +8,9 @@ on:
jobs:
trigger-nightly:
name: Push to release-nightly to trigger build
if: github.repository_owner == 'syncthing'
runs-on: ubuntu-latest
name: Push to release-nightly to trigger build
steps:
- uses: actions/checkout@v5