Merge branch 'master' into feature/support-extra-env-vars-from-secrets
This commit is contained in:
commit
2e2ebf2b46
2 changed files with 39 additions and 0 deletions
38
.github/workflows/pr-labeler.yml
vendored
Normal file
38
.github/workflows/pr-labeler.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
name: PR labeler
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
size-labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: codelytv/pr-size-labeler@v1
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
xs_max_size: "10"
|
||||
s_max_size: "100"
|
||||
m_max_size: "500"
|
||||
l_max_size: "1000"
|
||||
fail_if_xl: "false"
|
||||
files_to_ignore: "yarn.lock"
|
||||
|
||||
team-labeler:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.action == 'opened' }}
|
||||
steps:
|
||||
- uses: rodrigoarias/auto-label-per-user@v1.0.0
|
||||
with:
|
||||
git-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
user-team-map: |
|
||||
{
|
||||
"adrinr": "firestorm",
|
||||
"samwho": "firestorm",
|
||||
"pclmnt": "firestorm",
|
||||
"mike12345567": "firestorm"
|
||||
}
|
|
@ -74,6 +74,7 @@ http {
|
|||
add_header X-Content-Type-Options nosniff always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Content-Security-Policy "${csp_default}; ${csp_script}; ${csp_style}; ${csp_object}; ${csp_base_uri}; ${csp_connect}; ${csp_font}; ${csp_frame}; ${csp_img}; ${csp_manifest}; ${csp_media}; ${csp_worker};" always;
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||||
|
||||
# upstreams
|
||||
set $apps ${APPS_UPSTREAM_URL};
|
||||
|
|
Loading…
Reference in a new issue