workflows: run issue/wiki automation only in the upstream repo

This commit is contained in:
neil committed 2026-07-12 11:49:53 +08:00
1 parent c0d62eb934
commit a9590c5bd7
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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
+2 -1
View File
@@ -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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.