Skip to content

Commit

Permalink
Merge pull request #9739 from certbot/CI/workflow-patch-forks
Browse files Browse the repository at this point in the history
Skip Mattermost Job for Forked Repos
  • Loading branch information
zoracon committed Jul 24, 2023
2 parents ddd4b31 + 2cb2cb0 commit 3e84b94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e84b94

Please sign in to comment.