From 31fe2ec99e678ebab4d56015d08cb6ff16d74900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 12 Jul 2023 15:36:53 +0200 Subject: [PATCH] Change: Run actions in PR workflows from main Always run the actions used in our workflows for pull requests from main branch. The main branch is our release branch. --- .github/workflows/conventional-commits.yml | 4 ++-- .github/workflows/dependency-review.yml | 2 +- .github/workflows/sbom-upload.yml | 4 ++-- .github/workflows/unittests.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index e5733924..337f27a8 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -12,5 +12,5 @@ jobs: name: Report Conventional Commits runs-on: ubuntu-latest steps: - - name: Report Conventional Commits - uses: greenbone/actions/conventional-commits@v2 + - name: Report Conventional Commits + uses: greenbone/actions/conventional-commits@main diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 81065c04..55d26fd0 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -11,4 +11,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Dependency Review - uses: greenbone/actions/dependency-review@v2 + uses: greenbone/actions/dependency-review@main diff --git a/.github/workflows/sbom-upload.yml b/.github/workflows/sbom-upload.yml index deb25f0a..968bfc86 100644 --- a/.github/workflows/sbom-upload.yml +++ b/.github/workflows/sbom-upload.yml @@ -12,5 +12,5 @@ jobs: id-token: write contents: write steps: - - name: 'SBOM upload' - uses: greenbone/actions/sbom-upload@v2 + - name: SBOM upload + uses: greenbone/actions/sbom-upload@main diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index e1250131..ad09cc96 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Setup project - uses: greenbone/actions/poetry@v2 + uses: greenbone/actions/poetry@main with: working-directory: backport-pull-request - name: Run unit tests