Skip to content

Commit

Permalink
GitHub Actions Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Apr 17, 2024
1 parent bfde9ef commit d8b90d3
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/azure-static-web-apps-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.122.0"
extended: true

- run: npm i
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
- "dependabot/**"
pull_request:
branches: [main]
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-workflows
permissions:
contents: read

jobs:
Expand All @@ -32,6 +33,9 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
persist-credentials: false

- name: "Dependency Review"
uses: actions/dependency-review-action@v4
2 changes: 2 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: streetsidesoftware/cspell-action@v6
with:
check_dot_files: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/whitesource-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: WhiteSource Scan
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-workflows
contents: read
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"htmlhint": "1.1.4",
"hugo-bin": "0.121.1",
"hugo-bin": "0.122.0",
"jquery": "3.7.1",
"npm-run-all": "4.1.5",
"popper.js": "1.16.1",
"postcss": "8.4.38",
"postcss-cli": "11.0.0",
"prettier": "3.2.5",
"stylelint": "16.3.1",
"stylelint-config-standard-scss": "13.0.0"
"stylelint-config-standard-scss": "13.1.0"
},
"hugo-bin": {
"buildTags": "extended"
Expand Down

0 comments on commit d8b90d3

Please sign in to comment.