Skip to content

Commit

Permalink
ne
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy Kristiansen committed Nov 29, 2021
1 parent 1a0f6db commit daac1c9
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 daac1c9

Please sign in to comment.