From 1d59e78147c784617e284b1c9ca313989862bc7e Mon Sep 17 00:00:00 2001 From: shaokeyibb Date: Thu, 18 Jul 2024 23:06:23 +0800 Subject: [PATCH] ci: checkout repo --- .github/workflows/deploy-cloudflare-workers.yml | 7 ++----- .github/workflows/publish-python-markdown-extension.yml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-cloudflare-workers.yml b/.github/workflows/deploy-cloudflare-workers.yml index b77f0830..6a023af3 100644 --- a/.github/workflows/deploy-cloudflare-workers.yml +++ b/.github/workflows/deploy-cloudflare-workers.yml @@ -9,14 +9,11 @@ on: jobs: changes: runs-on: ubuntu-latest - # Required permissions - permissions: - pull-requests: read - # Set job outputs to values from filter step outputs: src: ${{ steps.filter.outputs.src }} steps: - # For pull requests it's not necessary to checkout the code + - uses: actions/checkout@v4 + name: Checkout Repo - uses: dorny/paths-filter@v3 id: filter with: diff --git a/.github/workflows/publish-python-markdown-extension.yml b/.github/workflows/publish-python-markdown-extension.yml index a1067469..ced95b39 100644 --- a/.github/workflows/publish-python-markdown-extension.yml +++ b/.github/workflows/publish-python-markdown-extension.yml @@ -9,14 +9,11 @@ on: jobs: changes: runs-on: ubuntu-latest - # Required permissions - permissions: - pull-requests: read - # Set job outputs to values from filter step outputs: src: ${{ steps.filter.outputs.src }} steps: - # For pull requests it's not necessary to checkout the code + - uses: actions/checkout@v4 + name: Checkout Repo - uses: dorny/paths-filter@v3 id: filter with: