mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
[chore] Restrict GH action runs to the main repository (#2170)
This commit is contained in:
parent
1a8276ccbc
commit
2d6180f609
9 changed files with 9 additions and 0 deletions
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
|
|
|
|||
1
.github/workflows/codeql.yml
vendored
1
.github/workflows/codeql.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/crowdin-download.yml
vendored
1
.github/workflows/crowdin-download.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
1
.github/workflows/crowdin-upload-sources.yml
vendored
1
.github/workflows/crowdin-upload-sources.yml
vendored
|
|
@ -9,6 +9,7 @@ on:
|
|||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ on:
|
|||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -9,6 +9,7 @@ jobs:
|
|||
|
||||
release-build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
|
|
|
|||
1
.github/workflows/stale.yml
vendored
1
.github/workflows/stale.yml
vendored
|
|
@ -13,6 +13,7 @@ jobs:
|
|||
stale_issues:
|
||||
name: Close Stale Issues
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
|
||||
steps:
|
||||
- name: Stale PR+Issues
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ on:
|
|||
jobs:
|
||||
update-hardware-list:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
|
|
|||
1
.github/workflows/update-hardware-list.yml
vendored
1
.github/workflows/update-hardware-list.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
jobs:
|
||||
update-hardware-list:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'meshtastic/Meshtastic-Android'
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue