Skip to content

Commit

Permalink
CI: use github.ref_name for branch short name
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Oct 9, 2023
1 parent 4e95c53 commit e14cab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
BASE_BRANCH: origin/${{ github.base_ref }}

- name: "Infection on complete code base"
if: ${{ github.event_name != 'pull_request' && !startsWith(github.ref, 'renovate/') }}
if: ${{ github.event_name != 'pull_request' && !startsWith(github.ref_name, 'renovate/') }}
timeout-minutes: 30
run: "vendor/bin/infection run --ansi --threads=$(nproc) --skip-initial-tests --coverage=coverage"
env:
Expand Down

0 comments on commit e14cab3

Please sign in to comment.