mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-18 15:13:29 +08:00
workflows: run issue/wiki automation only in the upstream repo
This commit is contained in:
3
.github/workflows/blacklist-command.yml
vendored
3
.github/workflows/blacklist-command.yml
vendored
@@ -21,7 +21,8 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
blacklist:
|
blacklist:
|
||||||
if: startsWith(github.event.issue.title, 'blacklist:')
|
# Upstream only: forks have no <fork>.wiki repository to push to.
|
||||||
|
if: github.repository == 'acmesh-official/acme.sh' && startsWith(github.event.issue.title, 'blacklist:')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check authorization
|
- name: Check authorization
|
||||||
|
|||||||
3
.github/workflows/revert-command.yml
vendored
3
.github/workflows/revert-command.yml
vendored
@@ -21,7 +21,8 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
revert:
|
revert:
|
||||||
if: startsWith(github.event.issue.title, 'revert:')
|
# Upstream only: forks have no <fork>.wiki repository to push to.
|
||||||
|
if: github.repository == 'acmesh-official/acme.sh' && startsWith(github.event.issue.title, 'revert:')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check authorization
|
- name: Check authorization
|
||||||
|
|||||||
Reference in New Issue
Block a user