diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 308ac0c..461001e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -108,6 +108,7 @@ jobs: id-token: write contents: write # needed to publish sbom packages: write + if: github.ref == 'refs/heads/main' steps: - name: Checkout repository uses: actions/checkout@v4