Skip to content

Commit

Permalink
Use branch as suffix for snapshot testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Matts966 committed Mar 28, 2022
1 parent 4c8e6c9 commit 883272a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,17 @@ jobs:
alphadag --output_path=dag.dot ./samples/sample
alphadag --external_required_tables_output_path=dag.dot ./samples/sample
rm dag.dot
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
if: always()
with:
commit-message: Update Snapshot
reviewers: Matts966
branch: snapshot-testing
branch: snapshot-testing-${{ steps.extract_branch.outputs.branch }}
delete-branch: true
title: 'Updated Snapshot :tada:'
body: |
Expand Down

0 comments on commit 883272a

Please sign in to comment.