👷 Improve workflows for private repos (#2394)

This commit is contained in:
Sebastián Ramírez
2026-07-30 21:45:35 +02:00
committed by GitHub
parent 78c699079e
commit daae6e1434
9 changed files with 20 additions and 6 deletions
+3 -1
View File
@@ -12,7 +12,8 @@ on:
required: false
default: 'false'
permissions: {}
permissions:
contents: read
jobs:
changes:
@@ -24,6 +25,7 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 2
persist-credentials: false
# For pull requests it's not necessary to checkout the code but for the main branch it is
- uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2