1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Merge pull request #9739 from certbot/CI/workflow-patch-forks

Skip Mattermost Job for Forked Repos
This commit is contained in:
Alexis
2023-07-24 13:12:28 -07:00
committed by GitHub

View File

@@ -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