Only run these on this repo

pull/1203/head
Lim Chee Aun 2025-06-19 09:15:41 +08:00
rodzic cded263b06
commit c3cba4fd04
4 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,8 @@ on:
jobs: jobs:
run-and-merge: run-and-merge:
if: contains(github.event.pull_request.labels.*.name, 'i18n') && if: github.repository == 'cheeaun/phanpy' &&
contains(github.event.pull_request.labels.*.name, 'i18n') &&
github.event.pull_request.base.ref == 'main' && github.event.pull_request.base.ref == 'main' &&
github.event.pull_request.head.ref == 'l10n_main' github.event.pull_request.head.ref == 'l10n_main'
runs-on: ubuntu-latest runs-on: ubuntu-latest

Wyświetl plik

@ -8,6 +8,7 @@ on:
jobs: jobs:
update-readme: update-readme:
if: github.repository == 'cheeaun/phanpy'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

Wyświetl plik

@ -7,6 +7,7 @@ on:
jobs: jobs:
tag: tag:
if: github.repository == 'cheeaun/phanpy'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write

Wyświetl plik

@ -8,6 +8,7 @@ on:
jobs: jobs:
update-catalogs: update-catalogs:
if: github.repository == 'cheeaun/phanpy'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4