We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23ad7ed commit 6551198Copy full SHA for 6551198
.github/workflows/integration-tests.yml
@@ -8,10 +8,13 @@ jobs:
8
dispatch:
9
runs-on: ubuntu-latest
10
steps:
11
+ - name: Get the branch name
12
+ id: get_branch
13
+ run: echo ::set-output name=branch::$(echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}})
14
- name: Repository Dispatch
15
uses: peter-evans/repository-dispatch@v1
16
with:
17
token: "${{ secrets.PAT_INTEGRATION_TESTS}}"
18
repository: ulisesgascon/express-examples
19
event-type: integration-tests
- client-payload: '{"branch": "${{ github.head_ref || github.ref }}"}'
20
+ client-payload: '{"branch": "${{ steps.get_branch.outputs.branch }}"}'
0 commit comments