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:
|
||||
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
|
||||
steps:
|
||||
- name: Check authorization
|
||||
|
||||
3
.github/workflows/revert-command.yml
vendored
3
.github/workflows/revert-command.yml
vendored
@@ -21,7 +21,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
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
|
||||
steps:
|
||||
- name: Check authorization
|
||||
|
||||
Reference in New Issue
Block a user