mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-10-19 16:57:03 +00:00
ci: don't persist the checkout token
Nothing after checkout should need the GITHUB_TOKEN so persisting would only be an extra risk. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
3 files changed
+4
No files matched your search
@@ -16,6 +16,7 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
- name: Build a temporary DCO image
|
||||
uses: ./.github/actions/docker-build
|
||||
with:
|
||||
@@ -44,6 +45,7 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
- name: Do reuse check
|
||||
continue-on-error: true
|
||||
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
|
||||
@@ -35,6 +35,7 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
- name: Check for Yocto relevant changes
|
||||
id: changed-files-specific
|
||||
uses: ./.github/actions/changed-files
|
||||
|
||||
@@ -18,6 +18,7 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
- name: Check for Yocto relevant changes
|
||||
id: changed-files-specific
|
||||
uses: ./.github/actions/changed-files
|
||||
|
||||
Reference in new issue
Block a user