From 980c7d4b3f308d4d797b1a549decdc8f47efb705 Mon Sep 17 00:00:00 2001 From: Ignacio Calderon Date: Wed, 10 Apr 2024 10:40:42 +0200 Subject: [PATCH] chore: update actions (#348) --- .github/workflows/branch-check.yml | 8 ++++---- .github/workflows/publish.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/branch-check.yml b/.github/workflows/branch-check.yml index e503082..79fd4b2 100644 --- a/.github/workflows/branch-check.yml +++ b/.github/workflows/branch-check.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} @@ -39,7 +39,7 @@ jobs: - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master - if: github.event_name == 'pull_request' && matrix.python == '3.x' + if: github.event_name == 'pull_request' && matrix.python == '3.x' && github.event.pull_request.head.repo.full_name != github.repository with: args: > -Dsonar.projectVersion=${{ env.VERSION }} @@ -63,7 +63,7 @@ jobs: - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master - if: github.event_name == 'push' && matrix.python == '3.x' + if: github.event_name == 'push' && matrix.python == '3.x' && github.event.pull_request.head.repo.full_name != github.repository with: args: > -Dsonar.projectVersion=${{ env.VERSION }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 11a06cd..61c9854 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x'