Skip to content

Commit

Permalink
Merge pull request #39 from freddydk/main
Browse files Browse the repository at this point in the history
ne
  • Loading branch information
freddydk authored Nov 29, 2021
2 parents 6a6f2de + daac1c9 commit c2e0514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Collect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: CheckUser
run: |
if ("$ENV:GITHUB_REPOSITORY" -eq "microsoft/AL-Go" -and "$ENV:GITHUB_ACTOR" -eq "freddydk") {
if ("$ENV:GITHUB_REPOSITORY" -eq "microsoft/AL-Go" -and "$ENV:GITHUB_ACTOR" -ne "freddydk") {
Write-Host "::Error::You cannot run deploy and collect in the microsoft/AL-Go repo"
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: CheckUser
run: |
if ("$ENV:GITHUB_REPOSITORY" -eq "microsoft/AL-Go" -and "$ENV:GITHUB_ACTOR" -eq "freddydk") {
if ("$ENV:GITHUB_REPOSITORY" -eq "microsoft/AL-Go" -and "$ENV:GITHUB_ACTOR" -ne "freddydk") {
Write-Host "::Error::You cannot run deploy and collect in the microsoft/AL-Go repo"
exit 1
}
Expand Down

0 comments on commit c2e0514

Please sign in to comment.