@@ -5,10 +5,10 @@ name: Backport merged pull request
55on :
66 workflow_call : {}
77 secrets :
8- OPENVOXBOT_SSH_PRIVATE_KEY :
8+ ssh_private_key :
99 description : ' ssh private key to sign commits'
1010 required : true
11- OPENVOXBOT_COMMIT_AND_PRS :
11+ github_pat :
1212 # Provide a fine-grained token with the following repository permissions:
1313 # * Contents: Read and write
1414 # * Metadata: Read-only (mandatory, default)
3737 - name : Add SSH key
3838 run : |
3939 mkdir -p ~/.ssh
40- echo "${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}" > ~/.ssh/github_actions
40+ echo "${{ secrets.ssh_private_key }}" > ~/.ssh/github_actions
4141 chmod 600 ~/.ssh/github_actions
4242 ssh-agent -a $SSH_AUTH_SOCK > /dev/null
4343 ssh-add ~/.ssh/github_actions
@@ -53,13 +53,13 @@ jobs:
5353 - name : Checkout repository
5454 uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5555 with :
56- token : ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
56+ token : ${{ secrets.github_pat }}
5757 ref : main
5858 - name : Create backport pull requests
5959 uses : korthout/backport-action@2e830a1d0b8269505846ddd407a70876913ad1f8 # v4.6.0
6060 with :
6161 auto_merge_enabled : true
6262 auto_merge_method : merge
63- github_token : ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
63+ github_token : ${{ secrets.github_pat }}
6464 git_committer_name : OpenVoxProjectBot
6565 git_committer_email : 215568489+OpenVoxProjectBot@users.noreply.github.com
0 commit comments