mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Merge pull request #9739 from certbot/CI/workflow-patch-forks
Skip Mattermost Job for Forked Repos
This commit is contained in:
commit
3e84b94308
1 changed files with 2 additions and 1 deletions
3
.github/workflows/merged.yaml
vendored
3
.github/workflows/merged.yaml
vendored
|
|
@ -7,7 +7,8 @@ on:
|
|||
|
||||
jobs:
|
||||
if_merged:
|
||||
if: github.event.pull_request.merged == true
|
||||
# Forked repos can not access Mattermost secret.
|
||||
if: github.event.pull_request.merged == true && !github.event.pull_request.head.repo.fork
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create Mattermost Message
|
||||
|
|
|
|||
Loading…
Reference in a new issue