Skip to content

Commit

Permalink
add branch
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Jan 3, 2025
1 parent 0660241 commit d0a3bd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/actions/composites/update-snapshots-desktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,16 @@ runs:
echo "This is a dummy file" > dummy.txt
shell: bash

- name: Get current branch
id: get_branch
run: echo "branch=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
shell: bash

- uses: planetscale/[email protected]
with:
commit_message: "test commit"
repo: ${{ github.repository }}
branch: ${{ github.head_ref || github.ref_name }}
branch: ${{ env.branch }}
file_pattern: '*.txt'
env:
GITHUB_TOKEN: ${{ inputs.token }}
Expand Down

0 comments on commit d0a3bd1

Please sign in to comment.