repo-file-sync-action
repo-file-sync-action copied to clipboard
Cannot set commit message as the title of the PR
🐞 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
Same here
Same here