Skip to content

Commit c8a4f3f

Browse files
authored
fix: Github action to handle branch name with parentheses
1 parent 292b53c commit c8a4f3f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/behave_pull_request.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,13 @@ jobs:
103103

104104
- name: Install Dependencies
105105
run: make install-dev
106-
106+
107107
- name: Check Parity of Councils / input.json / Feature file
108-
run: |
109-
repo=${{ github.event.pull_request.head.repo.full_name || 'robbrad/UKBinCollectionData' }}
110-
branch=${{ github.event.pull_request.head.ref || 'master' }}
111-
make parity-check repo=$repo branch=$branch
108+
env:
109+
repo: ${{ github.event.pull_request.head.repo.full_name || 'robbrad/UKBinCollectionData' }}
110+
branch: ${{ github.event.pull_request.head.ref || 'master' }}
111+
run: make parity-check repo="$repo" branch="$branch"
112+
112113
integration-tests:
113114
name: Run Integration Tests
114115
needs: setup
@@ -151,4 +152,4 @@ jobs:
151152
report_type: test_results
152153
file: build/${{ matrix.python-version }}/integration-test-results/junit.xml
153154
flags: integrationtestspr
154-
name: integration-tests-pr
155+
name: integration-tests-pr

0 commit comments

Comments
 (0)