diff --git a/.github/workflows/pin-system-tests.yaml b/.github/workflows/pin-system-tests.yaml index 93d4c38e7b6..d8c7a565d6a 100644 --- a/.github/workflows/pin-system-tests.yaml +++ b/.github/workflows/pin-system-tests.yaml @@ -11,8 +11,19 @@ on: create: jobs: + # TODO: Remove this job after confirming the github.ref when a release branch is created + print-github-ref: + name: "Print github.ref" + runs-on: ubuntu-latest + steps: + - name: Print github.ref + run: | + echo "github.ref: ${{ github.ref }}" + pin-system-tests: name: "Pin system tests" + needs: + - print-github-ref if: github.event_name != 'create' || contains(github.ref, 'release/v') runs-on: ubuntu-latest permissions: @@ -24,11 +35,6 @@ jobs: with: scope: DataDog/dd-trace-java policy: self.pin-system-tests.create-pr - - # temporary - - name: Print github.ref - run: | - echo "github.ref: ${{ github.ref }}" - name: Define base branch id: define-base-branch