repo-file-sync-action icon indicating copy to clipboard operation
repo-file-sync-action copied to clipboard

Cannot set commit message as the title of the PR

Open thered0ne opened this issue 2 years ago • 2 comments

🐞 Describe the bug

I am triggering the action by pushing only 1 commit to test branch. But the PR title remains the default one: Synced file(s) with user/repo name.

My workflow file:

    on:
      push:
        branches:
          - test
      workflow_dispatch:
    jobs:
      sync:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout Repository
            uses: actions/checkout@v2
    
          - name: Generate token
            id: generate_token
            uses: tibdex/github-app-token@v1
            with:
              app_id: xxxxxx
              private_key: ${{ secrets.PRIVATE_KEY }}
    
          - name: Run GitHub File Sync
            uses: BetaHuhn/[email protected]
            with:
              GH_INSTALLATION_TOKEN: ${{ steps.generate_token.outputs.token }}
              ORIGINAL_MESSAGE: true
              COMMIT_AS_PR_TITLE: true
              GIT_EMAIL: [email protected]
              GIT_USERNAME: test

📚 To reproduce

Create a test repo source and dest, use the action and above configuration.

💡 Expected behavior

Created PR having my commit message as its title.

🖼️ Screenshots

No response

⚙️ Environment

v1.21.17 tested also in previous versions

📋 Additional context

No response

thered0ne avatar Sep 15 '22 14:09 thered0ne

Same here

mijdavis2 avatar Oct 07 '22 16:10 mijdavis2

Same here

tbutler-qontigo avatar Feb 09 '23 14:02 tbutler-qontigo