Fix scrolling in Security Report (#451)
* Fix scrolling in Security Report Also add an automatic action to update the test deployment on push/merge. * Fix deployment default
This commit is contained in:
parent
9fb954e560
commit
570a886bab
|
@ -0,0 +1,40 @@
|
|||
name: Update Deployments
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
instance:
|
||||
type: choice
|
||||
description: "Instance name"
|
||||
default: "test"
|
||||
options:
|
||||
- test
|
||||
- beta
|
||||
required: true
|
||||
|
||||
push:
|
||||
branches:
|
||||
- "v4"
|
||||
- "master"
|
||||
paths:
|
||||
- "packages/app/**"
|
||||
- "packages/core/**"
|
||||
- "packages/locale/**"
|
||||
- "assets/**"
|
||||
|
||||
jobs:
|
||||
trigger-gh-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger GH Action
|
||||
run: |
|
||||
curl --request POST \
|
||||
--url https://api.github.com/repos/padloc/devops/actions/workflows/update-deployment.yml/dispatches \
|
||||
--header 'Authorization: Basic ${{ secrets.DEVOPS_BASIC_AUTH_TOKEN }}' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"inputs": {
|
||||
"instance": "${{ github.event.inputs.instance || \'test\' }}",
|
||||
"branch": "${{ github.sha }}"
|
||||
}
|
||||
}'
|
|
@ -119,9 +119,7 @@ export class Audit extends StateMixin(Routing(View)) {
|
|||
)}
|
||||
</div>
|
||||
</header>
|
||||
<div class="vertical layout padded stretch">
|
||||
<pl-scroller class="stretch"> ${this._renderResults()} </pl-scroller>
|
||||
</div>
|
||||
<pl-scroller class="stretch vertically-padded"> ${this._renderResults()} </pl-scroller>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue