Skip to content

.github: add updaterelease workflow and scripts #13

.github: add updaterelease workflow and scripts

.github: add updaterelease workflow and scripts #13

name: 'Update Release Machines'
on:
workflow_call:
push:
paths:
- .github/scripts/**
- .github/workflows/updaterelease.yaml
jobs:
updaterelease:
runs-on: ["self-hosted"]
container:
image: ghcr.io/pantacor/kas/kas:next-v4
volumes:
- shared:/shared
options: --user root
steps:
- uses: actions/checkout@v4
- run: ls .github/scripts
- run: pwd
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
- run: .github/scripts/makemachines
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Pantavisor Meta Layer CI"
- run: .github/scripts/makecommit
- run: git push