workflows: run issue/wiki automation only in the upstream repo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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