Skip to content

Commit

Permalink
specify right workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb committed Nov 11, 2024
1 parent faf35c4 commit 8f12050
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build and test snap
on:
pull_request:
branches: '**'
# - develop

jobs:
variables:
Expand All @@ -20,7 +19,7 @@ jobs:
echo "tag=$tag" >> $GITHUB_OUTPUT
build-and-test:
uses: RocketChat/server-snap/.github/workflows/test.yml@develop
uses: RocketChat/server-snap/.github/workflows/test.yml@${{ github.head_ref || github.ref_name }}
needs: [variables]
with:
tag: ${{ needs.variables.outputs.tag }}
Expand Down

0 comments on commit 8f12050

Please sign in to comment.