Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions Improvements #314

Merged
merged 1 commit into from
Apr 17, 2024
Merged
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
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,14 +23,13 @@
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.122.0"
extended: true

- run: npm i
- run: hugo --minify

- name: Build And Deploy
id: builddeploy

Check warning on line 32 in .github/workflows/azure-static-web-apps-deploy.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (builddeploy)
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_ROCK_075179F10 }}
Expand All @@ -49,7 +48,7 @@
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest

Check warning on line 51 in .github/workflows/azure-static-web-apps-deploy.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (closepullrequest)
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_LIVELY_ROCK_075179F10 }}
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
Loading