Skip to content

Commit

Permalink
fix(ci): do not persist credentials
Browse files Browse the repository at this point in the history
fix(cron-update-rust): don't persist credentials

fix(audit): don't persist credentials

fix(code-coverage): don't persist credentials

fix(nightly-docs): don't persist credentials

fix(cont-integration): don't persist credentials
  • Loading branch information
oleonardolima committed Dec 16, 2024
1 parent bd0a7c3 commit d89743f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ jobs:
issues: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions-rust-lang/audit@v1
name: Audit Rust Dependencies
2 changes: 2 additions & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install lcov tools
run: sudo apt-get install lcov -y
- name: Install Rust toolchain
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: "Checkout repo"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Read rust version"
id: read_toolchain
run: echo "rust_version=$(cat rust-version)" >> $GITHUB_OUTPUT
Expand All @@ -30,6 +32,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -65,6 +69,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -96,6 +102,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
# Install a recent version of clang that supports wasm32
- run: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - || exit 1
- run: sudo apt-get update || exit 1
Expand All @@ -122,6 +130,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -139,6 +149,8 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ needs.prepare.outputs.rust_version }}
Expand Down Expand Up @@ -169,6 +181,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cron-update-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: tibdex/github-app-token@v2
id: generate-token
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set default toolchain
run: rustup default nightly-2024-05-12
- name: Set profile
Expand Down Expand Up @@ -36,6 +38,7 @@ jobs:
- name: Checkout `bitcoindevkit.org`
uses: actions/checkout@v4
with:
persist-credentials: false
ssh-key: ${{ secrets.DOCS_PUSH_SSH_KEY }}
repository: bitcoindevkit/bitcoindevkit.org
ref: master
Expand Down

0 comments on commit d89743f

Please sign in to comment.