[chore] Restrict GH action runs to the main repository (#2170)

This commit is contained in:
Joshua Soberg 2025-06-19 11:34:08 -04:00 committed by GitHub
parent 1a8276ccbc
commit 2d6180f609
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 9 additions and 0 deletions

View file

@ -29,6 +29,7 @@ jobs:
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
if: github.repository == 'meshtastic/Meshtastic-Android'
permissions:
# required for all workflows
security-events: write