-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): unbreak workflow YAML and add a complete actions.lock #65
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| # This file is machine-generated by `gh actions-lock`. | ||
| # Do not edit by hand; run `gh actions-lock` to update. | ||
| # Docs: https://gh.io/actions-lockfile | ||
| version: 'v0.0.2' | ||
| workflows: | ||
| '.github/workflows/governance.yml': [] | ||
| '.github/workflows/hypatia-scan.yml': [] | ||
| '.github/workflows/mirror.yml': [] | ||
| '.github/workflows/scorecard.yml': [] | ||
| '.github/workflows/secret-scanner.yml': [] | ||
| '.github/workflows/codeql.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'github/codeql-action@v3.37.3' | ||
| '.github/workflows/instant-sync.yml': | ||
| - 'peter-evans/repository-dispatch@v4.0.1' | ||
| '.github/workflows/jekyll-gh-pages.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/configure-pages@v6.0.0' | ||
| - 'actions/deploy-pages@v5.0.0' | ||
| - 'actions/jekyll-build-pages@v1.0.13' | ||
| - 'actions/upload-pages-artifact@v5.0.0' | ||
| '.github/workflows/jekyll.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/configure-pages@v6.0.0' | ||
| - 'actions/deploy-pages@v5.0.0' | ||
| - 'actions/upload-pages-artifact@v5.0.0' | ||
| - 'ruby/setup-ruby@v1.321.0' | ||
| '.github/workflows/pages.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/deploy-pages@v5.0.0' | ||
| - 'actions/upload-pages-artifact@v5.0.0' | ||
| '.github/workflows/push-email-notify.yml': | ||
| - 'dawidd6/action-send-mail@v3.12.0' | ||
| dependencies: | ||
| 'actions/checkout@v7.0.1': | ||
| ref: 'v7.0.1' | ||
| commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/configure-pages@v6.0.0': | ||
| ref: 'v6.0.0' | ||
| commit: 'sha1-45bfe0192ca1faeb007ade9deae92b16b8254a0d' | ||
| owner_id: 44036562 | ||
| repo_id: 513659658 | ||
| 'actions/deploy-pages@v5.0.0': | ||
| ref: 'v5.0.0' | ||
| commit: 'sha1-cd2ce8fcbc39b97be8ca5fce6e763baed58fa128' | ||
| owner_id: 44036562 | ||
| repo_id: 438112499 | ||
| 'actions/jekyll-build-pages@v1.0.13': | ||
| ref: 'v1.0.13' | ||
| commit: 'sha1-44a6e6beabd48582f863aeeb6cb2151cc1716697' | ||
| owner_id: 44036562 | ||
| repo_id: 438323626 | ||
| 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f': | ||
| ref: 'v7.0.0' | ||
| commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'actions/upload-pages-artifact@v5.0.0': | ||
| ref: 'v5.0.0' | ||
| commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9' | ||
| owner_id: 44036562 | ||
| repo_id: 496012378 | ||
| uses: | ||
| - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| 'dawidd6/action-send-mail@v3.12.0': | ||
| ref: 'v3.12.0' | ||
| commit: 'sha1-12335b969ae3fb71bee5f2c6b829744261aec34c' | ||
| owner_id: 9713907 | ||
| repo_id: 222439721 | ||
| 'github/codeql-action@v3.37.3': | ||
| ref: 'v3.37.3' | ||
| commit: 'sha1-4187e74d05793876e9989daffde9c3e66b4acd07' | ||
| owner_id: 9919 | ||
| repo_id: 259445878 | ||
| 'peter-evans/repository-dispatch@v4.0.1': | ||
| ref: 'v4.0.1' | ||
| commit: 'sha1-28959ce8df70de7be546dd1250a005dd32156697' | ||
| owner_id: 18365890 | ||
| repo_id: 220359305 | ||
| 'ruby/setup-ruby@v1.321.0': | ||
| ref: 'v1.321.0' | ||
| commit: 'sha1-95ef2b042f9d7a56d8268cba8559e2842e2ad01b' | ||
| owner_id: 210414 | ||
| repo_id: 231208785 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # This workflow is managed by gh actions-lock. | ||
| # This workflow uses actions that are not certified by GitHub. | ||
| # They are provided by a third-party and are governed by | ||
| # separate terms of service, privacy policy, and support | ||
|
|
@@ -35,25 +36,25 @@ | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| uses: actions/checkout@v7.0.1 | ||
| - name: Setup Ruby | ||
| # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0 | ||
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b | ||
| uses: ruby/setup-ruby@v1.321.0 | ||
|
Check warning on line 42 in .github/workflows/jekyll.yml
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 HIGH RISK This change unpins a third-party GitHub Action from a commit SHA. Security best practices require using the full-length commit SHA to ensure the action is immutable and to protect against supply chain attacks. |
||
| with: | ||
| ruby-version: '3.1' # Not needed with a .ruby-version file | ||
| bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
| cache-version: 0 # Increment this number if you need to re-download cached gems | ||
| - name: Setup Pages | ||
| id: pages | ||
| uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6 | ||
| uses: actions/configure-pages@v6.0.0 | ||
| - name: Build with Jekyll | ||
| # Outputs to the './_site' directory by default | ||
| run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" | ||
| env: | ||
| JEKYLL_ENV: production | ||
| - name: Upload artifact | ||
| # Automatically uploads an artifact from the './_site' directory by default | ||
| uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 | ||
| uses: actions/upload-pages-artifact@v5.0.0 | ||
|
|
||
| # Deployment job | ||
| deploy: | ||
|
|
@@ -66,4 +67,4 @@ | |
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5 | ||
| uses: actions/deploy-pages@v5.0.0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # This workflow is managed by gh actions-lock. | ||
| # Dormant push-email notification. ARMED by setting the repo variable | ||
| # PUSH_EMAIL_ENABLED=true (the single on/off switch). Addresses are pre-filled; | ||
| # sending needs the org SMTP secrets (SMTP_HOST/PORT/USER/PASS). Inherited by | ||
|
|
@@ -16,7 +17,7 @@ | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Send push notification email | ||
| uses: dawidd6/action-send-mail@12335b969ae3fb71bee5f2c6b829744261aec34c # pinned | ||
| uses: dawidd6/action-send-mail@v3.12.0 | ||
|
Check warning on line 20 in .github/workflows/push-email-notify.yml
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 HIGH RISK Pin this action to a specific commit SHA to ensure the workflow remains secure. Relying on mutable tags for third-party actions is a security risk. |
||
| with: | ||
| server_address: ${{ secrets.SMTP_HOST }} | ||
| server_port: ${{ secrets.SMTP_PORT }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 HIGH RISK
Pin all third-party GitHub Actions to a full-length commit SHA. Using tags instead of SHAs makes the workflow susceptible to unauthorized changes in the upstream repository.
See Issue in Codacy