Skip to content

Commit

Permalink
Merge pull request #63 from fraunhofer-iem/feature/dependencies
Browse files Browse the repository at this point in the history
Dependency Updates
  • Loading branch information
janniclas authored Mar 8, 2022
2 parents 2875857 + 385ddb7 commit f827e3a
Show file tree
Hide file tree
Showing 8 changed files with 1,604 additions and 5,351 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ jobs:
uses: fraunhofer-iem/dodo-github-visualization/.github/workflows/updateDeploy.yml@main
with:
tag: ${{ needs.tag.outputs.new_tag }}
secrets:
ORG_ACCESS_TOKEN: ${{ secrets.ORG_ACCESS_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ jobs:
uses: fraunhofer-iem/dodo-github-visualization/.github/workflows/updateDeploy.yml@main
with:
tag: ${{ needs.tag.outputs.new_tag }}
secrets:
ORG_ACCESS_TOKEN: ${{ secrets.ORG_ACCESS_TOKEN }}

5 changes: 1 addition & 4 deletions .github/workflows/updateDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
tag:
required: true
type: string
secrets:
ORG_ACCESS_TOKEN:
required: true

workflow_dispatch:
inputs:
Expand All @@ -25,7 +22,7 @@ jobs:
with:
repository: fraunhofer-iem/dodo-deployment
ref: main
token: ${{ secrets.ORG_ACCESS_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
submodules: true

- name: Checkout desired tag (workflow_call)
Expand Down
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/api/requireAuthorization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface AuthorizationDetails {
export function requireAuthorization(
page: (props: any) => React.ReactNode,
): NextPage {
return (props: { [key: string]: any }) => {
return function ProtectedPage(props: { [key: string]: any }) {
const { user } = useUser({ redirectTo: "/" })

return (
Expand Down
1 change: 0 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
Expand Down
Loading

0 comments on commit f827e3a

Please sign in to comment.