forked from GreptimeTeam/greptimedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: safe ci using zizmor check (GreptimeTeam#5491)
* ci: safe ci using zizmor check Signed-off-by: yihong0618 <[email protected]> * fix: lines empty Signed-off-by: yihong0618 <[email protected]> * fix: delete useless code Signed-off-by: yihong0618 <[email protected]> --------- Signed-off-by: yihong0618 <[email protected]>
- Loading branch information
1 parent
5be81ab
commit 342883e
Showing
12 changed files
with
169 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: crate-ci/typos@master | ||
- name: Check the config docs | ||
run: | | ||
|
@@ -38,6 +40,8 @@ jobs: | |
name: Check License Header | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: korandoru/hawkeye@v5 | ||
|
||
check: | ||
|
@@ -49,6 +53,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -70,6 +76,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Install taplo | ||
run: cargo +stable install taplo-cli --version ^0.9 --locked --force | ||
|
@@ -85,6 +93,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -139,6 +149,8 @@ jobs: | |
echo "Disk space after:" | ||
df -h | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -192,6 +204,8 @@ jobs: | |
echo "Disk space after:" | ||
df -h | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -238,6 +252,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -295,6 +311,8 @@ jobs: | |
echo "Disk space after:" | ||
df -h | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Setup Kind | ||
uses: ./.github/actions/setup-kind | ||
- if: matrix.mode.minio | ||
|
@@ -437,6 +455,8 @@ jobs: | |
echo "Disk space after:" | ||
df -h | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Setup Kind | ||
uses: ./.github/actions/setup-kind | ||
- name: Setup Chaos Mesh | ||
|
@@ -562,6 +582,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- if: matrix.mode.kafka | ||
name: Setup kafka server | ||
working-directory: tests-integration/fixtures | ||
|
@@ -589,6 +611,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -604,6 +628,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -626,6 +652,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Merge Conflict Finder | ||
uses: olivernybroe/[email protected] | ||
|
||
|
@@ -636,6 +664,8 @@ jobs: | |
needs: [conflict-check, clippy, fmt] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -684,6 +714,8 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.