Skip to content

Commit

Permalink
Fix Deploy Stage detection in CI Pipeline (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
PlagueHO authored and johlju committed Jan 14, 2020
1 parent bf2f93c commit aa1f34e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[issue #666](https://github.com/PowerShell/xPSDesiredStateConfiguration/issues/666).
- Fix deploy stage in CI pipeline to prevent it executing against forks
of the repository - fixes [issue #665](https://github.com/PowerShell/xPSDesiredStateConfiguration/issues/665).
- Fix deploy fork detection in CI pipeline - fixes [issue #668](https://github.com/PowerShell/xPSDesiredStateConfiguration/issues/668).

### Security

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ stages:
eq(variables['Build.SourceBranch'], 'refs/heads/master'),
startsWith(variables['Build.SourceBranch'], 'refs/tags/')
),
startsWith(variables['Build.Repository.Name'], 'dsccommunity')
contains(variables['System.TeamFoundationCollectionUri'], 'dsccommunity')
)
jobs:
- job: Deploy_Module
Expand Down

0 comments on commit aa1f34e

Please sign in to comment.