peterjgrainger / action-create-branch

Github action to create a branch
MIT License
90 stars 29 forks source link

with: branch: has no effect #395

Open erictheise opened 2 months ago

erictheise commented 2 months ago

Hi, I've tried running v3.0.0 and v2.2.0 using this

      - name: Check out new sacrificial branch
        uses: peterjgrainger/action-create-branch@v3.0.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          branch: 'the-sacrifice'

but the created branch is always named release-candidate.

peterjgrainger commented 1 week ago

Hi. Just tested this and it looks OK. https://github.com/peterjgrainger/test-actions/blob/main/.github/workflows/create-branch.yml

Do you have some logs from the workflow run?

erictheise commented 1 week ago

Hi, thanks for testing. I've just started a new project and this Action is working. I'll review the earlier project in the next few days and try to figure out what's different about it.