Reworked the maintenance action to use an ssh key.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 1m45s

This commit is contained in:
Philipp Horstenkamp 2024-05-21 00:23:58 +02:00
parent bbb0c98080
commit db81df0265
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -22,13 +22,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.REPO_TOKEN }}
- name: Attempt to checkout specific branch
uses: actions/checkout@v4
with:
ref: ${{ env.SPECIFIC_BRANCH }}
token: ${{ secrets.REPO_TOKEN }}
continue-on-error: true
ssh-key: ${{ secrets.SSH_RUNNER }}
- uses: actions/setup-python@v4
- run: pip install pre-commit
shell: bash