Skip to content

Fix run with sudo for functionality commands (#193) #77

Fix run with sudo for functionality commands (#193)

Fix run with sudo for functionality commands (#193) #77

Workflow file for this run

name: Auto-update strict branch
on:
push:
branches: [main]
jobs:
update:
runs-on: ubuntu-20.04
steps:
- name: Checking out repo
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY_TO_UPDATE_STRICT_BRANCH }}
- name: Apply strict patch
run: |
git checkout -b autoupdate/strict
git config --global user.email [email protected]
git config --global user.name k8s-bot
git am ./build-scripts/patches/strict/*.patch
- name: Push to autoupdate/strict branch
run: |
git push origin --force autoupdate/strict