Skip to content

Commit

Permalink
Adding back the pull_request trigger to the workflow
Browse files Browse the repository at this point in the history
In order to have the RIT tests working as we have it today, we need to add triggers for
every commit and for when the PR is opened, but only for masters and *-rc branches base branches.
  • Loading branch information
fmacleal committed Sep 9, 2024
1 parent 5762913 commit 89a436a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Rootstock Integration Tests
on:
push:
branches: ["master", "*-rc"]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ "master", "*-rc" ]
workflow_dispatch:
inputs:
rit-branch:
Expand Down Expand Up @@ -32,6 +35,8 @@ jobs:
POWPEG_BRANCH="${{ github.ref }}"
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
POWPEG_BRANCH="${{ github.ref_name }}"
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
POWPEG_BRANCH="${{ github.head_ref }}"
fi
echo "RSKJ_BRANCH=$RSKJ_BRANCH" >> $GITHUB_ENV
Expand Down

0 comments on commit 89a436a

Please sign in to comment.