Skip to content

Commit 4670160

Browse files
committed
CI: Fix broken dependency
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
1 parent 27e1056 commit 4670160

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/backport.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: Backport merged pull request
55
on:
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)
@@ -37,7 +37,7 @@ jobs:
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

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
automerge:
1212
name: Enable auto-merge
1313
if: github.event_name == 'pull_request' && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]')
14-
needs:
15-
- unit
1614
runs-on: ubuntu-latest
1715
permissions:
1816
contents: write

0 commit comments

Comments
 (0)