.github: add updaterelease workflow and scripts #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-v3 | |
volumes: | |
- shared:/shared | |
options: --user root | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ls .github/scripts | |
- run: pwd | |
- 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 | |