Skip to content
Snippets Groups Projects
Unverified Commit b851eaa1 authored by Dave Armstrong's avatar Dave Armstrong Committed by GitHub
Browse files

Merge pull request #458 from puppetlabs/MODULES-11220/main/prevent_actions_on_forks

(MODULES-11220) Disable nightly workflows on forks
parents 8aaceffe fda1aa8e
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ env: ...@@ -18,6 +18,7 @@ env:
jobs: jobs:
setup_matrix: setup_matrix:
if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
name: "Setup Test Matrix" name: "Setup Test Matrix"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
outputs: outputs:
...@@ -197,7 +198,7 @@ jobs: ...@@ -197,7 +198,7 @@ jobs:
<% if @configs['slack-notifications'] -%> <% if @configs['slack-notifications'] -%>
slack-workflow-status: slack-workflow-status:
if: always() if: ${{ github.repository_owner == '<%= common['owner'] %>' }}
name: Post Workflow Status To Slack name: Post Workflow Status To Slack
needs: needs:
- Acceptance - Acceptance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment