Skip to content

Commit

Permalink
make workflow manual
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Oct 26, 2023
1 parent 449c441 commit 654fa54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/angular-format.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Prettier & Lint
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
Expand All @@ -27,3 +26,11 @@ jobs:
message: "🤖 GITHUB ACTIONS format_prettier"
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

- name: cancel run if commit is done so the second run is used
run: |
if ${{ steps.add_and_commit.outputs.committed }};then
gh run cancel ${{ github.run_id }}
fi
env:
GH_TOKEN: ${{ github.token }}
5 changes: 0 additions & 5 deletions ui/src/app/account/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ export class LoginComponent implements AfterViewInit, OnDestroy {
this.eventService.broadcast(
new Event(EventType.LOG_IN_SUCCESS, 'logged in')
)
// TODO: Event manager
/* this.eventManager.broadcast({
name: 'authenticationSuccess',
content: 'Sending Authentication Success'
}); */

// previousState was set in the authExpiredInterceptor before being redirected to login modal.
// since login is successful, go to stored previousState and clear previousState
Expand Down

0 comments on commit 654fa54

Please sign in to comment.