use persist-credentials: false in checkout calls

This commit is contained in:
Erica Portnoy 2026-04-24 13:24:22 -07:00
parent c18f0999a6
commit 9836dd6f71
3 changed files with 10 additions and 0 deletions

View file

@ -12,6 +12,8 @@ jobs:
# If we change the output filename from `release_notes.md`, it should also be changed in tools/create_github_release.py
- name: checkout
uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Prepare changelog
run: |-
CERTBOT_VERSION="$(cd certbot/src && python -c "import certbot; print(certbot.__version__)" && cd ~-)"

View file

@ -41,6 +41,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Install dependencies
run: |-
sudo apt-get update
@ -105,6 +107,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Retrieve Certbot snaps
uses: actions/download-artifact@v8.0.1
with:
@ -129,6 +133,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Login to Docker Hub
uses: docker/login-action@v4.1.0
with:

View file

@ -32,6 +32,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v6.0.2
with:
persist-credentials: false
- name: Build the Docker images
# We don't filter for the Docker Hub organization to continue to allow
# easy testing of these scripts on forks.