Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/pin-system-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down