diff --git a/.github/workflows/check_rust_quality.yml b/.github/workflows/check_rust_quality.yml index c51d0f0..f5168aa 100644 --- a/.github/workflows/check_rust_quality.yml +++ b/.github/workflows/check_rust_quality.yml @@ -2,8 +2,7 @@ name: Run rust quality checks on: push: - branches: - - dev + branches: ['*'] workflow_call: inputs: branch: @@ -35,7 +34,7 @@ jobs: run: ./scripts/test - name: Merge to master branch - if: ${{ inputs.branch != 'master' }} + if: ${{ inputs.branch == 'dev' }} uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }}