Skip to content

Remove refs/heads from incoming branch variable #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 23, 2020

Conversation

aka-tpayne
Copy link
Contributor

I ran into an issue where the branch variable was coming in with refs/heads.

- name: Create Branch
    uses: peterjgrainger/action-create-branch@master
    env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    with:
        branch: ${{ github.ref }}-deploy

@peterjgrainger peterjgrainger merged commit 6077a81 into peterjgrainger:master May 23, 2020
@peterjgrainger
Copy link
Owner

@aka-tpayne thanks for the contribution:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants