Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
- published
workflow_dispatch:

permissions: read-all

env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand All @@ -21,12 +19,18 @@ jobs:
ci:
name: CI
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
statuses: write
packages: read
steps:
- name: 'Checkout'
uses: actions/checkout@v5
with:
lfs: true
fetch-depth: 0
persist-credentials: false
- name: 'Install InvokeBuild Module'
shell: pwsh
run: Install-Module -Name InvokeBuild -Force
Expand Down Expand Up @@ -63,12 +67,18 @@ jobs:
name: 'DockerHub'
url: https://hub.docker.com/r/tiksn/fossa-ui
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
statuses: write
packages: read
steps:
- name: 'Checkout'
uses: actions/checkout@v5
with:
lfs: true
fetch-depth: 0
persist-credentials: false
- name: 'Download Artefact'
uses: actions/download-artifact@v5.0.0
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
pull_request:
workflow_dispatch:

permissions: read-all

env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand All @@ -20,13 +18,16 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false

- name: 'Install InvokeBuild Module'
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- synchronize
workflow_dispatch:

permissions: read-all
permissions: {}

jobs:
update_release_draft:
Expand Down
4 changes: 4 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
**/node_modules/
node_modules/**
**/node_modules/**
1 change: 1 addition & 0 deletions lint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ docker run --rm `
-e FIX_DOTNET_SLN_FORMAT_STYLE=true `
-e FIX_DOTNET_SLN_FORMAT_WHITESPACE=true `
-e FIX_ENV=true `
-e FIX_GITHUB_ACTIONS_ZIZMOR=true `
-e FIX_JAVASCRIPT_ES=true `
-e FIX_JAVASCRIPT_PRETTIER=true `
-e FIX_JSON=true `
Expand Down
7 changes: 7 additions & 0 deletions trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
scan:
skip-dirs:
- 'node_modules'
skip-files:
- 'node_modules/**'
- '**/node_modules/**'
- '**/node_modules/**/*.Dockerfile'
Loading