mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
Pin the third-party actions referenced by mutable @master/@main tags to their current commit SHA (tag kept in a trailing comment). Several run in jobs holding secrets: - SonarSource/sonarcloud-github-action@master (sonarcloud-scan.yml) — SONAR_TOKEN - Yikun/hub-mirror-action@master (sync2gitee.yml) — GITEE_PRIVATE_KEY, GITEE_TOKEN - fit2cloud/LLM-CodeReview-Action@main (llm-code-review.yml) — tokens + LLM API key - crate-ci/typos@master (tyops-check.yml) A moved tag would run unreviewed code with those secrets. Behaviour unchanged; per GitHub's guidance to pin actions to a full-length commit SHA. Signed-off-by: Kobi Hikri <kobi.hikri@gmail.com>
11 lines
294 B
YAML
11 lines
294 B
YAML
name: Typos Check
|
|
on: pull_request
|
|
jobs:
|
|
run:
|
|
name: Spell Check with Typos
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Actions Repository
|
|
uses: actions/checkout@v2
|
|
- name: Check spelling
|
|
uses: crate-ci/typos@3bc303c295c081add5df4a4d52a1e117f2fb2dce # master |